提交 b39ffbf8 编写于 作者: U Uwe Kleine-König 提交者: Pekka Enberg

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: NChristoph Lameter <cl@linux.com>
Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: NPekka Enberg <penberg@kernel.org>
上级 d0e0ac97
...@@ -1598,7 +1598,7 @@ endchoice ...@@ -1598,7 +1598,7 @@ endchoice
config SLUB_CPU_PARTIAL config SLUB_CPU_PARTIAL
default y default y
depends on SLUB depends on SLUB && SMP
bool "SLUB per cpu partial cache" bool "SLUB per cpu partial cache"
help help
Per cpu partial caches accellerate objects allocation and freeing Per cpu partial caches accellerate objects allocation and freeing
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册