Module Name:    src
Committed By:   reinoud
Date:           Thu Jan 12 13:28:54 UTC 2012

Modified Files:
        src/sys/arch/usermode/dev: cpu.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/usermode/dev/cpu.c
diff -u src/sys/arch/usermode/dev/cpu.c:1.62 src/sys/arch/usermode/dev/cpu.c:1.63
--- src/sys/arch/usermode/dev/cpu.c:1.62	Fri Jan  6 12:54:59 2012
+++ src/sys/arch/usermode/dev/cpu.c	Thu Jan 12 13:28:54 2012
@@ -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 <[email protected]>
@@ -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 @@ cpu_lwp_fork(struct lwp *l1, struct lwp 
 		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;

Reply via email to