diff options
author | Robert Morris <[email protected]> | 2010-08-11 14:34:45 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2010-08-11 14:34:45 -0400 |
commit | 789b508d538e6faf635e49f268a4f1f9e9b65f05 (patch) | |
tree | 9515f6123cf72da77c7ebf0b4ac532c700dff30b /kalloc.c | |
parent | 83d2db91f75460e1275d67847adec0fca5a9800b (diff) | |
download | xv6-labs-789b508d538e6faf635e49f268a4f1f9e9b65f05.tar.gz xv6-labs-789b508d538e6faf635e49f268a4f1f9e9b65f05.tar.bz2 xv6-labs-789b508d538e6faf635e49f268a4f1f9e9b65f05.zip |
uptime() sys call for benchmarking
increase PHYSTOP
Diffstat (limited to 'kalloc.c')
-rw-r--r-- | kalloc.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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); } |