summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-07-17 16:54:59 +0200
committerPekka Enberg <penberg@kernel.org>2013-08-13 08:21:45 +0200
commitb39ffbf8b14de2e7c1679462313cf32abb7ef463 (patch)
treeabca8b28c1dc3bb7c14e17a437686d40286e99e5
parentmm/slub: beautify code for 80 column limitation and tab alignment (diff)
downloadlinux-b39ffbf8b14de2e7c1679462313cf32abb7ef463.tar.xz
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>
-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