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

From: Muchun Song
Date: Thu Jul 29 2021 - 01:41:29 EST


On Wed, Jul 28, 2021 at 11:54 PM Shakeel Butt <shakeelb@xxxxxxxxxx> 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>

Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>