diff options
author | Vladimir Davydov <vdavydov@virtuozzo.com> | 2016-03-17 14:17:35 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-17 15:09:34 -0700 |
commit | 27ee57c93ff00b8a2d6c6dd6b0b3dddda7b43b77 (patch) | |
tree | a848f3e480c7b486a825c01b2cb6dd09ad79459e /Documentation/cgroup-v2.txt | |
parent | 72b54e7314a2e7a68567c92bbb32fe2598a3c783 (diff) | |
download | linux-27ee57c93ff00b8a2d6c6dd6b0b3dddda7b43b77.tar.gz linux-27ee57c93ff00b8a2d6c6dd6b0b3dddda7b43b77.tar.bz2 linux-27ee57c93ff00b8a2d6c6dd6b0b3dddda7b43b77.zip |
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>
Diffstat (limited to 'Documentation/cgroup-v2.txt')
-rw-r--r-- | Documentation/cgroup-v2.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/cgroup-v2.txt b/Documentation/cgroup-v2.txt index ff49cf901148..e4e0c1d78cee 100644 --- a/Documentation/cgroup-v2.txt +++ b/Documentation/cgroup-v2.txt @@ -843,6 +843,11 @@ PAGE_SIZE multiple when read back. Amount of memory used to cache filesystem data, including tmpfs and shared memory. + slab + + Amount of memory used for storing in-kernel data + structures. + sock Amount of memory used in network transmission buffers @@ -871,6 +876,16 @@ PAGE_SIZE multiple when read back. on the internal memory management lists used by the page reclaim algorithm + slab_reclaimable + + Part of "slab" that might be reclaimed, such as + dentries and inodes. + + slab_unreclaimable + + Part of "slab" that cannot be reclaimed on memory + pressure. + pgfault Total number of page faults incurred |