[PATCH] <not for upstream> percpu: Increase allocation limits

From: Ingo Molnar
Date: Wed Jan 19 2011 - 14:15:20 EST


Might solve the boot crashes ...

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
mm/percpu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/percpu.c b/mm/percpu.c
index 3f93001..5cd9cf4 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -74,7 +74,7 @@
#include <asm/io.h>

#define PCPU_SLOT_BASE_SHIFT 5 /* 1-31 shares the same slot */
-#define PCPU_DFL_MAP_ALLOC 16 /* start a map with 16 ents */
+#define PCPU_DFL_MAP_ALLOC 64 /* start a map with 64 ents */

#ifdef CONFIG_SMP
/* default addr <-> pcpu_ptr mapping, override in asm/percpu.h if necessary */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/