aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2001-10-13 22:40:22 +0000
committerH. Peter Anvin <hpa@zytor.com>2001-10-13 22:40:22 +0000
commit85a914ba599e2b2db8ed74a59a049107d6f1bd19 (patch)
treec2097006b09c681e4e8921d11009c3bb5c03c233
parent353840e8c642322c63ce54f9d386bcdf86dc06a4 (diff)
downloadlpsm-85a914ba599e2b2db8ed74a59a049107d6f1bd19.tar.gz
lpsm-85a914ba599e2b2db8ed74a59a049107d6f1bd19.tar.xz
lpsm-85a914ba599e2b2db8ed74a59a049107d6f1bd19.zip
Start with an arena size of 128K. We can extend it at our leisure.to-tytso-20011013
-rw-r--r--alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/alloc.c b/alloc.c
index d2cef16..f56486e 100644
--- a/alloc.c
+++ b/alloc.c
@@ -98,7 +98,7 @@ struct arena_header {
/* This is the size (2^n) allocated for a brand new arena.
This allocation will be sparse, so don't freak out too much! */
-#define ARENA_START_SIZE_LG2 (2*BUDDY_ORDER_MIN) /* 16 MB */
+#define ARENA_START_SIZE_LG2 17 /* 128K */
#define ARENA_START_SIZE (1UL << ARENA_START_SIZE_LG2)
#define HEADER_SIZE BUDDY_SIZE_MIN /* Default size of the header */