Re: [PATCH] slub: fix unreclaimable slab stat for bulk free

From: Roman Gushchin
Date: Wed Jul 28 2021 - 19:30:38 EST


On Wed, Jul 28, 2021 at 08:53:54AM -0700, Shakeel Butt wrote:
> SLUB uses page allocator for higher order allocations and update
> unreclaimable slab stat for such allocations. At the moment, the bulk
> free for SLUB does not share code with normal free code path for these
> type of allocations and have missed the stat update. So, fix the stat
> update by common code. The user visible impact of the bug is the
> potential of inconsistent unreclaimable slab stat visible through
> meminfo and vmstat.
>
> Fixes: 6a486c0ad4dc ("mm, sl[ou]b: improve memory accounting")
> Signed-off-by: Shakeel Butt <shakeelb@xxxxxxxxxx>

Acked-by: Roman Gushchin <guro@xxxxxx>

Thanks!