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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>

---
 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)
 
 

-- 
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux