]> Git Repo - linux.git/commit
mm: per-cgroup memory reclaim stats
authorRoman Gushchin <[email protected]>
Thu, 6 Jul 2017 22:40:25 +0000 (15:40 -0700)
committerLinus Torvalds <[email protected]>
Thu, 6 Jul 2017 23:24:35 +0000 (16:24 -0700)
commit2262185c5b287f2758afda79c149b7cf6bee165c
tree4451ec80c3515ed5e4b93e4b2e5bd78661e0a5a9
parent94f4a1618b4c2b268f9e70bd1516932927782293
mm: per-cgroup memory reclaim stats

Track the following reclaim counters for every memory cgroup: PGREFILL,
PGSCAN, PGSTEAL, PGACTIVATE, PGDEACTIVATE, PGLAZYFREE and PGLAZYFREED.

These values are exposed using the memory.stats interface of cgroup v2.

The meaning of each value is the same as for global counters, available
using /proc/vmstat.

Also, for consistency, rename mem_cgroup_count_vm_event() to
count_memcg_event_mm().

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Roman Gushchin <[email protected]>
Suggested-by: Johannes Weiner <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Acked-by: Vladimir Davydov <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Li Zefan <[email protected]>
Cc: Balbir Singh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/cgroup-v2.txt
fs/dax.c
fs/ncpfs/mmap.c
include/linux/memcontrol.h
mm/filemap.c
mm/memcontrol.c
mm/memory.c
mm/shmem.c
mm/swap.c
mm/vmscan.c
This page took 0.047384 seconds and 4 git commands to generate.