aboutsummaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-07-17 10:54:59 -0400
committerPekka Enberg <penberg@kernel.org>2013-08-13 02:21:45 -0400
commitb39ffbf8b14de2e7c1679462313cf32abb7ef463 (patch)
treeabca8b28c1dc3bb7c14e17a437686d40286e99e5 /init/Kconfig
parentd0e0ac9772f8ec520c96ebdd60f00eedf54a46ae (diff)
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
1598 1598
1599config SLUB_CPU_PARTIAL 1599config SLUB_CPU_PARTIAL
1600 default y 1600 default y
1601 depends on SLUB 1601 depends on SLUB && SMP
1602 bool "SLUB per cpu partial cache" 1602 bool "SLUB per cpu partial cache"
1603 help 1603 help
1604 Per cpu partial caches accellerate objects allocation and freeing 1604 Per cpu partial caches accellerate objects allocation and freeing