Re: [PATCH] slub: fix unreclaimable slab stat for bulk free
From: Roman Gushchin <hidden>
Date: 2021-07-28 23:30:27
Also in:
lkml
From: Roman Gushchin <hidden>
Date: 2021-07-28 23:30:27
Also in:
lkml
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 <redacted>Acked-by: Roman Gushchin <redacted> Thanks!