summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorHao Li <hao.li@linux.dev>2026-05-29 11:50:51 +0800
committerVlastimil Babka (SUSE) <vbabka@kernel.org>2026-06-01 10:42:12 +0200
commit7e230738746ce9a7a57c55cbde0c48668a891334 (patch)
treec5eb6f1b9c7fdbf2bc2ba6147fd66d601315659a /scripts/Makefile.thinlto
parente562904fc1731f4a1d9a190f78b4218303ab2ced (diff)
mm/slub: introduce helpers for node partial slab state
Wrap partial slab count inc/dec and flag set/clear into helper functions to reduce code duplication. Note that __add_partial() is called locklessly in early_kmem_cache_node_alloc(), but since there is no such use case for removal, __remove_partial() does not exist. Suggested-by: Harry Yoo <harry@kernel.org> Signed-off-by: Hao Li <hao.li@linux.dev> Link: https://patch.msgid.link/20260529035120.81304-2-hao.li@linux.dev Reviewed-by: Harry Yoo (Oracle) <harry@kernel.org> Signed-off-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions