Re: [RFC PATCH 12/14] mm/slub: introduce the deallocated_pages sysfs attribute

From: Kees Cook
Date: Fri Sep 15 2023 - 17:23:49 EST


On Fri, Sep 15, 2023 at 10:59:31AM +0000, Matteo Rizzo wrote:
> From: Jann Horn <jannh@xxxxxxxxxx>
>
> When SLAB_VIRTUAL is enabled this new sysfs attribute tracks the number
> of slab pages whose physical memory has been reclaimed but whose virtual
> memory is still allocated to a kmem_cache.
>
> Signed-off-by: Jann Horn <jannh@xxxxxxxxxx>

Yay stats. :)

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook