diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2016-02-02 16:57:38 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-02-03 08:28:43 -0800 |
commit | c792e8240338e41eda4d06a3a71a7bb7af4e6156 (patch) | |
tree | bbd79ec9853359d1687750f8c3b2db908b5b0d42 /Documentation/cgroup-v2.txt | |
parent | 461c7fa126794157484dca48e88effa4963e3af3 (diff) | |
download | lwn-c792e8240338e41eda4d06a3a71a7bb7af4e6156.tar.gz lwn-c792e8240338e41eda4d06a3a71a7bb7af4e6156.zip |
mm: memcontrol: drop superfluous entry in the per-memcg stats array
MEM_CGROUP_STAT_NSTATS is just a delimiter for cgroup1 statistics, not
an actual array entry. Reuse it for the first cgroup2 stat entry, like
in the event array.
Fixes: b2807f07f4f8 ("mm: memcontrol: add "sock" to cgroup2 memory.stat")
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Vladimir Davydov <vdavydov@virtuozzo.com>
Cc: Michal Hocko <mhocko@suse.cz>
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')
0 files changed, 0 insertions, 0 deletions