Commit b39ffbf8 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by 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: default avatarChristoph Lameter <cl@linux.com>
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarPekka Enberg <penberg@kernel.org>
parent d0e0ac97
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment