From: Alan Cox Date: Sun, 25 Jan 2015 00:05:09 +0000 (+0000) Subject: bank16k_low: remove debug X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=db7f0d8bbada38e28faa6a578a47d609f88016f3;p=FUZIX.git bank16k_low: remove debug --- diff --git a/Kernel/bank16k_low.c b/Kernel/bank16k_low.c index f550e59a..b99c86cc 100644 --- a/Kernel/bank16k_low.c +++ b/Kernel/bank16k_low.c @@ -63,17 +63,14 @@ int pagemap_alloc(ptptr p) int needed = maps_needed(udata.u_top); int i; - kprintf("pagemap_alloc, need %d (top %u)\n", needed, udata.u_top); #ifdef SWAPDEV /* Throw our toys out of our pram until we have enough room */ while (needed > pfptr) if (swapneeded(p, 1) == NULL) return ENOMEM; #else - if (needed > pfptr) /* We have no swap so poof... */ { - kprintf("%d free, %d needed\n", pfptr, needed); + if (needed > pfptr) /* We have no swap so poof... */ return ENOMEM; - } #endif /* Pages in the low then repeat the top one */ @@ -100,8 +97,6 @@ int pagemap_realloc(uint16_t size) /* If we are shrinking then free pages and propogate the common page into the freed spaces */ - kprintf("Maps were %x %x\n", udata.u_page, udata.u_page2); - kprintf("have %d want %d\n", have, want); if (want == have) return 0; if (have > want) {