diff options
| author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2013-07-17 16:54:59 +0200 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-09-28 15:14:29 +0200 |
| commit | 8f6638049fae70687dda7875b1f986483c636286 (patch) | |
| tree | 0cf14d09d295b579b6f16418c5eb0c7a66ee662c /init | |
| parent | 3c24bbc144755b300e75d802d3cabc882e78c729 (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/Kconfig | 2 |
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 |
