From d9c4637a5f65da6cc6972765c0be9a05c8483ef5 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Thu, 18 Dec 2014 23:53:32 +0100 Subject: kernel: remove "checked xxx page table entries" print from checkpages() the purpose of checkpages() is to verify consitency of the hardware mmu state, not to notify on the console that a program faulted. a program could also continue after handling the note. (this seems to be the case in go programs) --- sys/src/9/port/fault.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/src/9/port/fault.c b/sys/src/9/port/fault.c index 478e29f3d..45c3959b3 100644 --- a/sys/src/9/port/fault.c +++ b/sys/src/9/port/fault.c @@ -389,7 +389,6 @@ extern void checkmmu(uintptr, uintptr); void checkpages(void) { - int checked; uintptr addr, off; Pte *p; Page *pg; @@ -398,7 +397,6 @@ checkpages(void) if(up == nil) return; - checked = 0; for(sp=up->seg, ep=&up->seg[NSEG]; sppa); - checked++; } qunlock(s); } - print("%ld %s: checked %d page table entries\n", up->pid, up->text, checked); } -- cgit v1.2.3