diff options
| author | Xin Hao <[email protected]> | 2023-09-14 00:49:37 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-04 10:32:27 -0700 |
| commit | 811244a501b967b00fecb1ae906d5dc6329c91e0 (patch) | |
| tree | e95148a2d7edb118c193837f9c84d37f75a25c8b /include/linux/debugobjects.h | |
| parent | ed547ab6f4041c2186df672029eb17f98f44d125 (diff) | |
mm: memcg: add THP swap out info for anonymous reclaim
At present, we support per-memcg reclaim strategy, however we do not know
the number of transparent huge pages being reclaimed, as we know the
transparent huge pages need to be splited before reclaim them, and they
will bring some performance bottleneck effect. for example, when two
memcg (A & B) are doing reclaim for anonymous pages at same time, and 'A'
memcg is reclaiming a large number of transparent huge pages, we can
better analyze that the performance bottleneck will be caused by 'A'
memcg. therefore, in order to better analyze such problems, there add THP
swap out info for per-memcg.
[[email protected] fix swap_writepage_fs(), per Johannes]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Xin Hao <[email protected]>
Suggested-by: Johannes Weiner <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: Shakeel Butt <[email protected]>
Cc: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions