diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2013-07-17 16:54:59 +0200 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2013-08-13 09:21:45 +0300 |
commit | b39ffbf8b14de2e7c1679462313cf32abb7ef463 (patch) | |
tree | abca8b28c1dc3bb7c14e17a437686d40286e99e5 /init | |
parent | d0e0ac9772f8ec520c96ebdd60f00eedf54a46ae (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')
-rw-r--r-- | init/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig index 247084be059..63c67de99c1 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 |