]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm/slab: make caches with sheaves mergeable
authorVlastimil Babka <vbabka@suse.cz>
Fri, 23 Jan 2026 06:52:43 +0000 (07:52 +0100)
committerVlastimil Babka <vbabka@suse.cz>
Tue, 27 Jan 2026 16:59:31 +0000 (17:59 +0100)
commitaff8518575715b8b902d64a4ad8dfa3e33381efa
treec908713a85a927c293a356149f7ef0aed331a1fe
parent8598351edc42f38d2a1eaed9abca39c98e7b0bbf
mm/slab: make caches with sheaves mergeable

Before enabling sheaves for all caches (with automatically determined
capacity), their enablement should no longer prevent merging of caches.
Limit this merge prevention only to caches that were created with a
specific sheaf capacity, by adding the SLAB_NO_MERGE flag to them.

Reviewed-by: Harry Yoo <harry.yoo@oracle.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/slab_common.c