diff options
author | 2020-06-03 16:03:19 -0700 | |
---|---|---|
committer | 2020-06-03 20:09:49 -0700 | |
commit | 21e330fc632d6a288f73de48045b782cc51d501a (patch) | |
tree | 545124044848862e471adc9967b14327f50ca779 /Documentation | |
parent | mm: swap: fix vmstats for huge pages (diff) | |
download | linux-21e330fc632d6a288f73de48045b782cc51d501a.tar.gz linux-21e330fc632d6a288f73de48045b782cc51d501a.tar.bz2 linux-21e330fc632d6a288f73de48045b782cc51d501a.zip |
mm: swap: memcg: fix memcg stats for huge pages
The commit 2262185c5b28 ("mm: per-cgroup memory reclaim stats") added
PGLAZYFREE, PGACTIVATE & PGDEACTIVATE stats for cgroups but missed
couple of places and PGLAZYFREE missed huge page handling. Fix that.
Also for PGLAZYFREE use the irq-unsafe function to update as the irq is
already disabled.
Fixes: 2262185c5b28 ("mm: per-cgroup memory reclaim stats")
Signed-off-by: Shakeel Butt <shakeelb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Link: http://lkml.kernel.org/r/20200527182947.251343-1-shakeelb@google.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions