From 789b508d538e6faf635e49f268a4f1f9e9b65f05 Mon Sep 17 00:00:00 2001 From: Robert Morris <rtm@nephron.lcs.mit.edu> Date: Wed, 11 Aug 2010 14:34:45 -0400 Subject: uptime() sys call for benchmarking increase PHYSTOP --- kalloc.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'kalloc.c') diff --git a/kalloc.c b/kalloc.c index 7695006..ca87018 100644 --- a/kalloc.c +++ b/kalloc.c @@ -23,14 +23,10 @@ struct { int nfreemem; // Initialize free list of physical pages. -// This code cheats by just considering one megabyte of -// pages after end. Real systems would determine the -// amount of memory available in the system and use it all. void kinit(char *p, uint len) { initlock(&kmem.lock, "kmem"); - cprintf("end 0x%x free = %d(0x%x)\n", p, len); nfreemem = 0; kfree(p, len); } -- cgit v1.2.3