Re: [PATCH v3 20/21] mm/slub: remove DEACTIVATE_TO_* stat items

Hao Li
2026-01-22T05:17:42Z

On Fri, Jan 16, 2026 at 03:40:40PM +0100, Vlastimil Babka wrote:
> The cpu slabs and their deactivations were removed, so remove the unused
> stat items. Weirdly enough the values were also used to control
> __add_partial() adding to head or tail of the list, so replace that with
> a new enum add_mode, which is cleaner.
>
> Reviewed-by: Suren Baghdasaryan <surenb@google.com>
> Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
> ---
> mm/slub.c | 31 +++++++++++++++----------------
> 1 file changed, 15 insertions(+), 16 deletions(-)
>

Looks good to me.
Reviewed-by: Hao Li <hao.li@linux.dev>

--
Thanks,
Hao