From 7d7dc9331bf33f77c9c3a71350782dadae8dd371 Mon Sep 17 00:00:00 2001
From: Robert Morris <rtm@nephron.lcs.mit.edu>
Date: Tue, 31 Aug 2010 12:54:47 -0400
Subject: kalloc/kfree now only a page at a time do not keep sorted contiguous
 free list

---
 umalloc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'umalloc.c')

diff --git a/umalloc.c b/umalloc.c
index afc86a5..4984591 100644
--- a/umalloc.c
+++ b/umalloc.c
@@ -49,8 +49,8 @@ morecore(uint nu)
   char *p;
   Header *hp;
 
-  if(nu < PAGE)
-    nu = PAGE;
+  if(nu < 4096)
+    nu = 4096;
   p = sbrk(nu * sizeof(Header));
   if(p == (char*) -1)
     return 0;
-- 
cgit v1.2.3