Re: [PATCH RFC 03/19] slub: remove CONFIG_SLUB_TINY specific code paths
From: Alexei Starovoitov
Date: Fri Oct 24 2025 - 18:35:03 EST
On Thu, Oct 23, 2025 at 6:53 AM Vlastimil Babka <vbabka@xxxxxxx> wrote:
>
> 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.
>
> Signed-off-by: Vlastimil Babka <vbabka@xxxxxxx>
> ---
> mm/slab.h | 2 --
> mm/slub.c | 107 +++-----------------------------------------------------------
> 2 files changed, 4 insertions(+), 105 deletions(-)
Looks like it is removing most of it.
Just remove the whole thing. Do people care about keeping SLUB_TINY?