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

less output

上级 ef934f44
...@@ -19,7 +19,6 @@ exec(char *path, char **argv) ...@@ -19,7 +19,6 @@ exec(char *path, char **argv)
pde_t *pgdir, *oldpgdir; pde_t *pgdir, *oldpgdir;
cprintf("%d: exec %s\n", cpunum(), path); cprintf("%d: exec %s\n", cpunum(), path);
procdumpall();
if((ip = namei(path)) == 0) if((ip = namei(path)) == 0)
return -1; return -1;
...@@ -92,9 +91,6 @@ exec(char *path, char **argv) ...@@ -92,9 +91,6 @@ exec(char *path, char **argv)
proc->tf->esp = sp; proc->tf->esp = sp;
switchuvm(proc); switchuvm(proc);
freevm(oldpgdir); freevm(oldpgdir);
cprintf("exec done\n");
return 0; return 0;
bad: bad:
......
...@@ -74,10 +74,8 @@ mpmain(void) ...@@ -74,10 +74,8 @@ mpmain(void)
} }
vmenable(); // turn on paging vmenable(); // turn on paging
cprintf("cpu%d: starting\n", cpu->id); cprintf("cpu%d: starting\n", cpu->id);
procdumpall();
idtinit(); // load idt register idtinit(); // load idt register
xchg(&cpu->booted, 1); // tell bootothers() we're up xchg(&cpu->booted, 1); // tell bootothers() we're up
procdumpall();
scheduler(); // start running processes scheduler(); // start running processes
} }
......
...@@ -50,7 +50,6 @@ found: ...@@ -50,7 +50,6 @@ found:
release(&ptable->lock); release(&ptable->lock);
// Allocate kernel stack if possible. // Allocate kernel stack if possible.
cprintf("allocproc: kalloc\n");
if((p->kstack = kalloc()) == 0){ if((p->kstack = kalloc()) == 0){
p->state = UNUSED; p->state = UNUSED;
return 0; return 0;
...@@ -97,7 +96,6 @@ addrun(struct proc *p) ...@@ -97,7 +96,6 @@ addrun(struct proc *p)
acquire(&ptable->lock); acquire(&ptable->lock);
addrun1(p); addrun1(p);
release(&ptable->lock); release(&ptable->lock);
procdumpall();
} }
static void static void
...@@ -331,7 +329,6 @@ steal(void) ...@@ -331,7 +329,6 @@ steal(void)
} }
release(&ptables[c].lock); release(&ptables[c].lock);
if (r) { if (r) {
procdumpall();
return; return;
} }
} }
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论