Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b39ffbf8 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Pekka Enberg
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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