aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2007-05-06 17:49:38 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 15:12:53 -0400
commit30520864839dc796fd314812e7036e754880b47d (patch)
tree52d9bcff74f2cb03b9f491a406fa0c7bb3b83eea /arch/powerpc/Kconfig
parent614410d5892af5f86d0ec14e28f9f6d5f4ac9e9b (diff)
PowerPC: Disable SLUB for configurations in which slab page structs are modified
PowerPC uses the slab allocator to manage the lowest level of the page table. In high cpu configurations we also use the page struct to split the page table lock. Disallow the selection of SLUB for that case. Signed-off-by: Christoph Lameter <clameter@sgi.com> Cc: Hugh Dickins <hugh@veritas.com> Cc: Paul Mackerras <paulus@samba.org> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index a54a9a2e36f3..8de5f9ff4ade 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -117,6 +117,19 @@ config GENERIC_BUG
117 default y 117 default y
118 depends on BUG 118 depends on BUG
119 119
120#
121# Powerpc uses the slab allocator to manage its ptes and the
122# page structs of ptes are used for splitting the page table
123# lock for configurations supporting more than SPLIT_PTLOCK_CPUS.
124#
125# In that special configuration the page structs of slabs are modified.
126# This setting disables the selection of SLUB as a slab allocator.
127#
128config ARCH_USES_SLAB_PAGE_STRUCT
129 bool
130 default y
131 depends on SPLIT_PTLOCK_CPUS <= NR_CPUS
132
120config DEFAULT_UIMAGE 133config DEFAULT_UIMAGE
121 bool 134 bool
122 help 135 help