]> git.ozlabs.org Git - ccan/blobdiff - ccan/alloc/alloc.c
alloc: reduce number of large pages to 256.
[ccan] / ccan / alloc / alloc.c
index 693943aea140c881587020550525c1aa78571768..b4235d0ef404b3fba2c7e3738a89832ad4be4286 100644 (file)
@@ -35,7 +35,7 @@
  */
 
 /* We divide the pool into this many large pages (nearest power of 2) */
  */
 
 /* We divide the pool into this many large pages (nearest power of 2) */
-#define MAX_LARGE_PAGES (1024UL)
+#define MAX_LARGE_PAGES (256UL)
 
 /* 32 small pages == 1 large page. */
 #define BITS_FROM_SMALL_TO_LARGE_PAGE 5
 
 /* 32 small pages == 1 large page. */
 #define BITS_FROM_SMALL_TO_LARGE_PAGE 5