summaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
authorUwe Kleine-König2013-07-17 16:54:59 +0200
committerPekka Enberg2013-08-13 08:21:45 +0200
commitb39ffbf8b14de2e7c1679462313cf32abb7ef463 (patch)
treeabca8b28c1dc3bb7c14e17a437686d40286e99e5 /init/Kconfig
parentmm/slub: beautify code for 80 column limitation and tab alignment (diff)
downloadkernel-qcow2-linux-b39ffbf8b14de2e7c1679462313cf32abb7ef463.tar.gz
kernel-qcow2-linux-b39ffbf8b14de2e7c1679462313cf32abb7ef463.tar.xz
kernel-qcow2-linux-b39ffbf8b14de2e7c1679462313cf32abb7ef463.zip
slub: don't use cpu partial pages on UP
cpu partial pages are used to avoid contention which does not exist in the UP case. So let SLUB_CPU_PARTIAL depend on SMP. Acked-by: Christoph Lameter <cl@linux.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 247084be0590..63c67de99c10 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1598,7 +1598,7 @@ endchoice
config SLUB_CPU_PARTIAL
default y
- depends on SLUB
+ depends on SLUB && SMP
bool "SLUB per cpu partial cache"
help
Per cpu partial caches accellerate objects allocation and freeing