diff options
author | Yang Yang <[email protected]> | 2022-01-19 18:10:02 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2022-01-20 08:52:55 +0200 |
commit | a3d5dc908a5f572ce3e31fe83fd2459a1c3c5422 (patch) | |
tree | 4aa83c6a0edc2f7cfee7707ac32ae8f1e36c2659 /scripts/gdb/linux/modules.py | |
parent | e83a4472bf9f556d01984048e398e64246c4dd6f (diff) |
delayacct: support swapin delay accounting for swapping without blkio
Currently delayacct accounts swapin delay only for swapping that cause
blkio. If we use zram for swapping, tools/accounting/getdelays can't
get any SWAP delay.
It's useful to get zram swapin delay information, for example to adjust
compress algorithm or /proc/sys/vm/swappiness.
Reference to PSI, it accounts any kind of swapping by doing its work in
swap_readpage(), no matter whether swapping causes blkio. Let delayacct
do the similar work.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Yang Yang <[email protected]>
Reported-by: Zeal Robot <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions