Re: [PATCH] slub: fix unreclaimable slab stat for bulk free
From: Muchun Song <hidden>
Date: 2021-07-29 05:41:25
Also in:
lkml
From: Muchun Song <hidden>
Date: 2021-07-29 05:41:25
Also in:
lkml
On Wed, Jul 28, 2021 at 11:54 PM Shakeel Butt [off-list ref] 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 <redacted>Reviewed-by: Muchun Song <redacted>