summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorHarry Yoo <harry.yoo@oracle.com>2026-01-27 19:31:50 +0900
committerVlastimil Babka <vbabka@suse.cz>2026-01-27 17:59:38 +0100
commitd907bf434fcd64c9609aa2983574e7c1f28e5493 (patch)
tree348bd2c28d61b080fbf6fbcc7d7a297fd74e0042 /rust/alloc/collections/git@git.tavy.me:linux.git
parentaff8518575715b8b902d64a4ad8dfa3e33381efa (diff)
mm/slab: factor out slab_args_unmergeable()
slab_mergeable() determines whether a slab cache can be merged, but it should not be used when the cache is not fully created yet. Extract the pre-cache-creation mergeability checks into slab_args_unmergeable(), which evaluates kmem_cache_args, slab flags, and slab_nomerge to determine if a cache will be mergeable before it is created. Signed-off-by: Harry Yoo <harry.yoo@oracle.com> Link: https://patch.msgid.link/20260127103151.21883-2-harry.yoo@oracle.com Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions