Skip to content

Commit b39ffbf

Browse files
Uwe Kleine-Königpenberg
authored andcommitted
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: Christoph Lameter <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Pekka Enberg <[email protected]>
1 parent d0e0ac9 commit b39ffbf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

init/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1598,7 +1598,7 @@ endchoice
15981598

15991599
config SLUB_CPU_PARTIAL
16001600
default y
1601-
depends on SLUB
1601+
depends on SLUB && SMP
16021602
bool "SLUB per cpu partial cache"
16031603
help
16041604
Per cpu partial caches accellerate objects allocation and freeing

0 commit comments

Comments
 (0)