]> Git Repo - linux.git/commit
slub: fix unreclaimable slab stat for bulk free
authorShakeel Butt <[email protected]>
Thu, 29 Jul 2021 21:53:50 +0000 (14:53 -0700)
committerLinus Torvalds <[email protected]>
Fri, 30 Jul 2021 17:14:39 +0000 (10:14 -0700)
commitf227f0faf63b46a113c4d1aca633c80195622dd2
tree25893ea6005d4b6946a840be4644066a63d311b1
parentb5916c025432b7c776b6bb13617485fbc0bd3ebd
slub: fix unreclaimable slab stat for bulk free

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.

Link: https://lkml.kernel.org/r/[email protected]
Fixes: 6a486c0ad4dc ("mm, sl[ou]b: improve memory accounting")
Signed-off-by: Shakeel Butt <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Acked-by: Roman Gushchin <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/slub.c
This page took 0.05375 seconds and 4 git commands to generate.