Skip to content

Commit

Permalink
slub: don't use cpu partial pages on UP
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Uwe Kleine-König authored and penberg committed Aug 13, 2013
1 parent d0e0ac9 commit b39ffbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b39ffbf

Please sign in to comment.