diff options
| author | Yang Yang <[email protected]> | 2022-08-05 03:38:39 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-26 19:46:06 -0700 |
| commit | f347c9d2697fcbbb64e077f7113a3887a181b8c0 (patch) | |
| tree | 186146188e3de04acb666ac1fe297c779688a492 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 5154e607967d3f587fda84a40abbf900275016c9 (diff) | |
filemap: make the accounting of thrashing more consistent
Once upon a time, we only support accounting thrashing of page cache.
Then Joonsoo introduced workingset detection for anonymous pages and we
gained the ability to account thrashing of them[1].
So let delayacct account both the thrashing of page cache and anonymous
pages, this could make the codes more consistent and simpler.
[1] commit aae466b0052e ("mm/swap: implement workingset detection for anonymous LRU")
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Yang Yang <[email protected]>
Signed-off-by: CGEL ZTE <[email protected]>
Acked-by: Joonsoo Kim <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Yang Yang <[email protected]>
Cc: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions