[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1374072899-23900-1-git-send-email-u.kleine-koenig@pengutronix.de>
Date: Wed, 17 Jul 2013 16:54:59 +0200
From: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
To: Christoph Lameter <cl@...ux.com>
Cc: Pekka Enberg <penberg@...nel.org>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
linux-kernel@...r.kernel.org, kernel@...gutronix.de,
Steven Rostedt <srostedt@...hat.com>
Subject: [PATCH] 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.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
---
init/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init/Kconfig b/init/Kconfig
index 247084b..63c67de 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
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists