summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/proc.c b/proc.c
index 45696a2..9247cc7 100644
--- a/proc.c
+++ b/proc.c
@@ -95,7 +95,6 @@ swtch()
struct proc *np;
struct proc *op = curproc[cpu()];
- cprintf("swtch cpu %d op %x proc0 %x\n", cpu(), op, proc);
while(1){
np = op + 1;
while(np != op){
@@ -107,7 +106,7 @@ swtch()
}
if(np->state == RUNNABLE)
break;
- cprintf("swtch: nothing to run\n");
+ // cprintf("swtch: nothing to run\n");
release_spinlock(&kernel_lock);
acquire_spinlock(&kernel_lock);
}