Re: [PATCH] mm/slub: refactor freelist to use custom type

From: Matteo Rizzo
Date: Tue Jul 04 2023 - 07:26:31 EST


On Mon, 3 Jul 2023 at 22:10, David Rientjes <rientjes@xxxxxxxxxx> wrote:
> Seems strange this would only appear for configs without CONFIG_SLUB_TINY.
>
> Since lots of files include linux/slab.h I think this may start to be used
> in non-slab code. Not sure why it needs to be added to the header file?
>

Thanks for the comments! I think that makes sense. I will move the typedef
to slub.c and move it out of the ifdef (since that also broke the build with
SLUB_TINY).

--
Matteo