mm: Make SLAB_MERGE_DEFAULT depend on SL[AU]B
PATCH 1/1 mm: Make SLAB_MERGE_DEFAULT depend on SL[AU]B
SLOB always manage objects of different caches in same page regardless of SLAB_MERGE_DEFAULT. Because it has no effect on SLOB, make it depend on SLAB || SLUB.
Signed-off-by Hyeonggon Yoo <[email protected]>
--- init/Kconfig | 1 + 1 file changed, 1 insertion(+)
init/Kconfig +1 -0
@@ -1933,6 +1933,7 @@ endchoice config SLAB_MERGE_DEFAULT bool "Allow slab caches to be merged" default y + depends on SLAB || SLUB help For reduced kernel memory fragmentation, slab caches can be merged when they share the same size and other characteristics.
Signature · 1 line
2.33.1
Quoted 5 lines · Hyeonggon Yoo
SLOB always manage objects of different caches in same page regardless of
SLAB_MERGE_DEFAULT. Because it has no effect on SLOB, make it depend on SLAB || SLUB.Signed-off-by Hyeonggon Yoo <[email protected]>
Reviewed-by Vlastimil Babka <[email protected]>
I will take this to the slab tree, thanks!
Quoted 16 lines
--- init/Kconfig | 1 + 1 file changed, 1 insertion(+)init/Kconfig +1
-0@@ -1933,6 +1933,7 @@ endchoice config SLAB_MERGE_DEFAULT bool "Allow slab caches to be merged" default y + depends on SLAB || SLUB help For reduced kernel memory fragmentation, slab caches can be merged when they share the same size and other characteristics.