[patch 01/41] cpu_alloc: Increase percpu area size to 128k

Christoph Lameter
2008-05-30T04:00:40Z

[-- Attachment #1: ia64_increase_percpu_size --]
[-- Type: text/plain, Size: 910 bytes --]

The per cpu allocator requires more per cpu space and we are already near
the limit on IA64. Increase the maximum size of the IA64 per cpu area from
64K to 128K.

Signed-off-by: Christoph Lameter <clameter@sgi.com>

---
include/asm-ia64/page.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/include/asm-ia64/page.h
===================================================================
--- linux-2.6.orig/include/asm-ia64/page.h 2008-05-29 12:10:42.216486476 -0700
+++ linux-2.6/include/asm-ia64/page.h 2008-05-29 12:11:06.218953049 -0700
@@ -42,7 +42,7 @@
#define PAGE_MASK (~(PAGE_SIZE - 1))
#define PAGE_ALIGN(addr) (((addr) + PAGE_SIZE - 1) & PAGE_MASK)

-#define PERCPU_PAGE_SHIFT 16 /* log2() of max. size of per-CPU area */
+#define PERCPU_PAGE_SHIFT 17 /* log2() of max. size of per-CPU area */
#define PERCPU_PAGE_SIZE (__IA64_UL_CONST(1) << PERCPU_PAGE_SHIFT)

--