提交 ccd980be 创建 作者: Frans Kaashoek's avatar Frans Kaashoek

nit in comment

上级 074ac7cc
...@@ -116,7 +116,7 @@ found: ...@@ -116,7 +116,7 @@ found:
p->pid = nextpid++; p->pid = nextpid++;
release(&ptable.lock); release(&ptable.lock);
// Allocate kernel stack if necessary. // Allocate kernel stack if possible.
if((p->kstack = kalloc(KSTACKSIZE)) == 0){ if((p->kstack = kalloc(KSTACKSIZE)) == 0){
p->state = UNUSED; p->state = UNUSED;
return 0; return 0;
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论