diff options
author | Frans Kaashoek <[email protected]> | 2009-09-20 20:19:58 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2009-09-20 20:19:58 -0400 |
commit | ccd980bedfcff49ec75cfda4e631b54f0a69bf82 (patch) | |
tree | 124ed2e7c343414971659df41b7a5bdafaf0b827 | |
parent | 074ac7ccd43c08d01a237ce6f14cac10715a51ef (diff) | |
download | xv6-labs-ccd980bedfcff49ec75cfda4e631b54f0a69bf82.tar.gz xv6-labs-ccd980bedfcff49ec75cfda4e631b54f0a69bf82.tar.bz2 xv6-labs-ccd980bedfcff49ec75cfda4e631b54f0a69bf82.zip |
nit in comment
-rw-r--r-- | proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |