aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-07-17 16:54:59 +0200
committerMoyster <oysterized@gmail.com>2016-09-28 15:14:29 +0200
commit8f6638049fae70687dda7875b1f986483c636286 (patch)
tree0cf14d09d295b579b6f16418c5eb0c7a66ee662c /init
parent3c24bbc144755b300e75d802d3cabc882e78c729 (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> Signed-off-by: W4TCH0UT <ateekujjawal@gmail.com>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 49831fb5c..d81fd110a 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1578,7 +1578,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