From b39ffbf8b14de2e7c1679462313cf32abb7ef463 Mon Sep 17 00:00:00 2001 From: Uwe Kleine-König Date: Wed, 17 Jul 2013 16:54:59 +0200 Subject: slub: don't use cpu partial pages on UP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Uwe Kleine-König Signed-off-by: Pekka Enberg --- init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init/Kconfig') 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 -- cgit v1.2.3-70-g09d2