diff options
author | Roman Gushchin <roman.gushchin@linux.dev> | 2024-05-01 10:26:12 -0700 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-05-07 10:36:59 -0700 |
commit | aab6103b97f1c7ca6cf33e78d5e6916e53fc265c (patch) | |
tree | d7b3849fe42db3e2eeecc4298a7c846847fa1787 /fs/ocfs2/uptodate.c | |
parent | 70a64b7919cbd6c12306051ff2825839a9d65605 (diff) |
mm: memcg: account memory used for memcg vmstats and lruvec stats
The percpu memory used by memcg's memory statistics is already accounted.
For consistency, let's enable accounting for vmstats and lruvec stats as
well.
Link: https://lkml.kernel.org/r/20240501172617.678560-4-shakeel.butt@linux.dev
Signed-off-by: Roman Gushchin <roman.gushchin@linux.dev>
Signed-off-by: Shakeel Butt <shakeel.butt@linux.dev>
Reviewed-by: Yosry Ahmed <yosryahmed@google.com>
Reviewed-by: T.J. Mercier <tjmercier@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Muchun Song <muchun.song@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/uptodate.c')
0 files changed, 0 insertions, 0 deletions