]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
slub: remove CONFIG_SLUB_TINY specific code paths
authorVlastimil Babka <vbabka@suse.cz>
Wed, 5 Nov 2025 09:05:32 +0000 (10:05 +0100)
committerVlastimil Babka <vbabka@suse.cz>
Fri, 7 Nov 2025 08:59:15 +0000 (09:59 +0100)
commit31e0886fd57d426d18a239dd55e176032c9c1cb0
treed8c76265fd1d2d8dfa7806dedb23fc5437ba3b2e
parent1ce20c28eafdc101164a4bfedd2ea818eb137de7
slub: remove CONFIG_SLUB_TINY specific code paths

CONFIG_SLUB_TINY minimizes the SLUB's memory overhead in multiple ways,
mainly by avoiding percpu caching of slabs and objects. It also reduces
code size by replacing some code paths with simplified ones through
ifdefs, but the benefits of that are smaller and would complicate the
upcoming changes.

Thus remove these code paths and associated ifdefs and simplify the code
base.

Link: https://patch.msgid.link/20251105-sheaves-cleanups-v1-4-b8218e1ac7ef@suse.cz
Reviewed-by: Harry Yoo <harry.yoo@oracle.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/slab.h
mm/slub.c