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 09:21:45 +0300
commitb39ffbf8b14de2e7c1679462313cf32abb7ef463 (patch)
treeabca8b28c1dc3bb7c14e17a437686d40286e99e5
parentd0e0ac9772f8ec520c96ebdd60f00eedf54a46ae (diff)
downloadop-kernel-dev-b39ffbf8b14de2e7c1679462313cf32abb7ef463.zip
op-kernel-dev-b39ffbf8b14de2e7c1679462313cf32abb7ef463.tar.gz
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 247084b..63c67de 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
OpenPOWER on IntegriCloud