mm: memcontrol: report slab usage in cgroup2 memory.stat
Show how much memory is used for storing reclaimable and unreclaimable in-kernel data structures allocated from slab caches. Signed-off-by:Vladimir Davydov <vdavydov@virtuozzo.com> Acked-by:
Johannes Weiner <hannes@cmpxchg.org> Cc: Michal Hocko <mhocko@kernel.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- Documentation/cgroup-v2.txt 15 additions, 0 deletionsDocumentation/cgroup-v2.txt
- include/linux/memcontrol.h 21 additions, 0 deletionsinclude/linux/memcontrol.h
- mm/memcontrol.c 8 additions, 0 deletionsmm/memcontrol.c
- mm/slab.c 5 additions, 3 deletionsmm/slab.c
- mm/slab.h 28 additions, 2 deletionsmm/slab.h
- mm/slub.c 2 additions, 1 deletionmm/slub.c
Loading
Please register or sign in to comment