Re: [RFC PATCH 09/14] mm/slub: add the slab freelists to kmem_cache
From: Kees Cook
Date: Fri Sep 15 2023 - 17:09:51 EST
On Fri, Sep 15, 2023 at 10:59:28AM +0000, Matteo Rizzo wrote:
> From: Jann Horn <jannh@xxxxxxxxxx>
>
> With SLAB_VIRTUAL enabled, unused slabs which still have virtual memory
> allocated to them but no physical memory are kept in a per-cache list so
> that they can be reused later if the cache needs to grow again.
>
> Signed-off-by: Jann Horn <jannh@xxxxxxxxxx>
Looks appropriately #ifdef'ed...
Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>
--
Kees Cook