diff options
| author | NeilBrown <[email protected]> | 2022-05-09 18:20:49 -0700 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-05-09 18:20:49 -0700 |
| commit | 6341a446a0e66355d729b663d7c8ca28ad6d1442 (patch) | |
| tree | 4eba07afcfb4235b8dc4e11a2c3a2cca7b3fd9d8 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | a1a0dfd56f97738c1974976309bbf38bb5a21132 (diff) | |
MM: handle THP in swap_*page_fs() - count_vm_events()
We need to use count_swpout_vm_event() for sio_write_complete() to get
correct counting.
Note that THP swap in (if it ever happens) is current accounted 1 for each
page, whether HUGE or normal. This is different from swap-out accounting.
This patch should be squashed into
MM: handle THP in swap_*page_fs()
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: NeilBrown <[email protected]>
Reported-by: Miaohe Lin <[email protected]>
Reviewed-by: Miaohe Lin <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Yang Shi <[email protected]>
Cc: Huang Ying <[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