Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/usermode/dev Remove old comment about space not bei...



details:   https://anonhg.NetBSD.org/src/rev/60dece2c7c44
branches:  trunk
changeset: 772693:60dece2c7c44
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Thu Jan 12 13:28:54 2012 +0000

description:
Remove old comment about space not being freed; it is now done correctly so
remove it to avoid confusion later.

diffstat:

 sys/arch/usermode/dev/cpu.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r e532a4fb7838 -r 60dece2c7c44 sys/arch/usermode/dev/cpu.c
--- a/sys/arch/usermode/dev/cpu.c       Wed Jan 11 23:24:46 2012 +0000
+++ b/sys/arch/usermode/dev/cpu.c       Thu Jan 12 13:28:54 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.62 2012/01/06 12:54:59 reinoud Exp $ */
+/* $NetBSD: cpu.c,v 1.63 2012/01/12 13:28:54 reinoud Exp $ */
 
 /*-
  * Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -30,7 +30,7 @@
 #include "opt_hz.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.62 2012/01/06 12:54:59 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.63 2012/01/12 13:28:54 reinoud Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -345,7 +345,6 @@
                panic("getcontext failed");
 
        /* set up the ucontext for the userland switch */
-       /* XXX BUG TODO when is this stack space freed? */
        pcb2->pcb_ucp.uc_stack.ss_sp = pcb2->pcb_stack_userland;
        pcb2->pcb_ucp.uc_stack.ss_size = stacksize;
        pcb2->pcb_ucp.uc_flags = _UC_STACK | _UC_CPU;



Home | Main Index | Thread Index | Old Index