From 3f8c02688a23a01397998346d69b10938f2afd78 Mon Sep 17 00:00:00 2001 From: Christoph Lameter Date: Sun, 6 May 2007 14:49:38 -0700 Subject: [PATCH] --- yaml --- r: 54201 b: refs/heads/master c: 30520864839dc796fd314812e7036e754880b47d h: refs/heads/master i: 54199: 304089639c9b2c336ea87ba6656faba58be511cf v: v3 --- [refs] | 2 +- trunk/arch/powerpc/Kconfig | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 3297b7654d92..3420eff355c8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 614410d5892af5f86d0ec14e28f9f6d5f4ac9e9b +refs/heads/master: 30520864839dc796fd314812e7036e754880b47d diff --git a/trunk/arch/powerpc/Kconfig b/trunk/arch/powerpc/Kconfig index a54a9a2e36f3..8de5f9ff4ade 100644 --- a/trunk/arch/powerpc/Kconfig +++ b/trunk/arch/powerpc/Kconfig @@ -117,6 +117,19 @@ config GENERIC_BUG default y depends on BUG +# +# Powerpc uses the slab allocator to manage its ptes and the +# page structs of ptes are used for splitting the page table +# lock for configurations supporting more than SPLIT_PTLOCK_CPUS. +# +# In that special configuration the page structs of slabs are modified. +# This setting disables the selection of SLUB as a slab allocator. +# +config ARCH_USES_SLAB_PAGE_STRUCT + bool + default y + depends on SPLIT_PTLOCK_CPUS <= NR_CPUS + config DEFAULT_UIMAGE bool help