commit ccd980bedfcff49ec75cfda4e631b54f0a69bf82
parent 074ac7ccd43c08d01a237ce6f14cac10715a51ef
Author: Frans Kaashoek <kaashoek@fransk-6.local>
Date: Sun, 20 Sep 2009 20:19:58 -0400
nit in comment
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proc.c b/proc.c
@@ -116,7 +116,7 @@ found:
p->pid = nextpid++;
release(&ptable.lock);
- // Allocate kernel stack if necessary.
+ // Allocate kernel stack if possible.
if((p->kstack = kalloc(KSTACKSIZE)) == 0){
p->state = UNUSED;
return 0;