summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Da <zhengda1936@gmail.com>2010-05-04 16:10:38 +0200
committerZheng Da <zhengda1936@gmail.com>2010-05-04 16:10:38 +0200
commit1debf236297c125504b0c163cbf8e4095d053ff7 (patch)
tree01a5d2150fa10b7a9b65a50343884962c056f7ce
parenta03e2da13bfbed30eedd589977595a5f3398a478 (diff)
Use more memory chunks for linux_kmalloc.
-rw-r--r--libddekit/kmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libddekit/kmem.c b/libddekit/kmem.c
index 3b869cc9..cea4d370 100644
--- a/libddekit/kmem.c
+++ b/libddekit/kmem.c
@@ -43,7 +43,7 @@ extern int printf (const char *, ...);
We reserve 64K chunks to stay within DMA limits.
Increase MEM_CHUNKS if the kernel is running out of memory. */
#define MEM_CHUNK_SIZE (64 * 1024)
-#define MEM_CHUNKS 7
+#define MEM_CHUNKS 30
#define MEM_CHUNKS_TOTAL (MEM_CHUNKS + 5)
/* round up the size at alignment of page size. */