Re: [PATCH v3 10/10] mm, slab: deprecate CONFIG_SLUB_TINY and reduce its Kconfig effects
From: Harry Yoo
Date: Tue Nov 10 2026 - 09:55:07 EST
On Thu, Nov 05, 2026 at 09:43:59AM +0100, Vlastimil Babka (SUSE) wrote:
> At this point CONFIG_SLUB_TINY only affects the default value of
> slab_tiny_enabled which has a boot-time parameter. Thus deprecate it in
> the Kconfig description.
>
> Also remove its interactions with other Kconfig option, as they are not
> necessary:
>
> - KASAN, SLUB_DEBUG or SLUB_STATS support do not need !SLUB_TINY
>
> - KVFREE_RCU_BATCHED can simply depend on !TINY_RCU
>
> - various hardening options do not need to be excluded, although it's
> unlikely that somebody would enable those with extra memory overhead
> together with slab_tiny
>
> - SLAB_MERGE_DEFAULT does not need to be selected, although it's likely
> to be used together
>
> Keep the "depends on EXPERT && !COMPILE_TEST" as there's no point making
> the deprecated option more visible.
>
> Signed-off-by: Vlastimil Babka (SUSE) <vbabka@xxxxxxxxxx>
> ---
Looks good to me,
Reviewed-by: Harry Yoo (Meta) <harry@xxxxxxxxxx>
--
Cheers,
Harry / Hyeonggon