Yang Yang
a3d5dc908a
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/20211112083813.8559-1-yang.yang29@zte.com.cn
Signed-off-by: Yang Yang <yang.yang29@zte.com.cn>
Reported-by: Zeal Robot <zealci@zte.com.cn>
Cc: Balbir Singh <bsingharora@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2022-01-20 08:52:55 +02:00
..
2021-12-31 09:20:12 -08:00
2021-11-11 09:34:35 -08:00
2021-12-25 12:20:55 -08:00
2021-12-10 17:10:56 -08:00
2021-05-07 00:26:35 -07:00
2021-09-03 09:58:14 -07:00
2019-07-12 12:24:03 -07:00
2021-05-05 11:27:21 -07:00
2021-05-05 11:27:24 -07:00
2021-11-06 13:30:41 -07:00
2021-05-05 11:27:24 -07:00
2021-11-06 14:08:17 -07:00
2017-11-02 11:10:55 +01:00
2021-11-06 13:30:33 -07:00
2021-11-06 14:08:17 -07:00
2021-06-29 10:53:52 -07:00
2021-09-08 11:50:24 -07:00
2020-10-13 18:38:29 -07:00
2019-07-12 11:05:43 -07:00
2021-12-10 17:10:55 -08:00
2021-10-18 07:49:41 -04:00
2021-05-05 11:27:27 -07:00
2021-05-05 11:27:26 -07:00
2021-05-05 11:27:26 -07:00
2021-11-06 14:08:17 -07:00
2021-11-25 10:13:56 -08:00
2021-09-08 18:45:52 -07:00
2021-11-01 08:47:59 -07:00
2021-11-06 13:30:39 -07:00
2021-06-30 20:47:26 -07:00
2021-06-30 20:47:25 -07:00
2021-12-10 17:10:56 -08:00
2021-09-03 09:58:15 -07:00
2021-07-08 11:48:21 -07:00
2021-11-06 14:08:17 -07:00
2021-04-30 11:20:38 -07:00
2021-04-30 11:20:39 -07:00
2021-09-08 11:50:24 -07:00
2022-01-20 08:52:52 +02:00
2020-12-15 12:13:46 -08:00
2021-11-06 14:08:17 -07:00
2021-09-08 18:45:53 -07:00
2021-10-18 07:49:39 -04:00
2021-11-06 13:30:35 -07:00
2021-08-20 11:39:25 +01:00
2021-10-14 13:29:22 +02:00
2021-09-27 09:27:30 -04:00
2021-07-01 11:06:02 -07:00
2021-11-10 11:29:30 -08:00
2021-12-10 17:10:56 -08:00
2021-11-09 10:02:48 -08:00
2021-12-03 10:58:13 -08:00
2021-12-25 12:20:56 -08:00
2022-01-20 08:52:55 +02:00
2021-12-25 12:20:55 -08:00
2021-10-18 06:17:01 -06:00
2021-09-27 09:27:31 -04:00
2017-11-02 11:10:55 +01:00
2021-11-11 09:34:35 -08:00
2021-01-24 14:27:16 +01:00
2021-09-27 09:27:31 -04:00
2021-04-30 11:20:42 -07:00
2021-07-23 17:43:28 -07:00
2021-11-09 10:02:48 -08:00
2021-04-16 16:10:36 -07:00
2021-03-25 09:22:55 -07:00
2020-12-15 14:48:04 -08:00
2021-11-06 13:30:36 -07:00
2021-11-06 13:30:39 -07:00
2021-04-30 11:20:37 -07:00
2021-11-06 14:08:17 -07:00
2021-11-10 16:02:08 -08:00
2021-11-06 14:08:17 -07:00
2021-04-30 11:20:38 -07:00
2021-11-06 13:30:34 -07:00
2021-09-08 11:50:24 -07:00
2022-01-20 08:52:55 +02:00
2021-11-06 13:30:40 -07:00
2021-11-11 09:34:35 -08:00
2021-04-30 11:20:36 -07:00
2021-06-29 10:53:47 -07:00
2021-06-29 10:53:47 -07:00
2021-07-01 11:06:03 -07:00
2021-11-10 21:16:52 +00:00
2021-06-29 10:53:49 -07:00
2021-07-01 17:17:24 -07:00
2021-07-04 18:30:17 +00:00
2021-06-05 20:43:15 +00:00
2021-07-04 18:30:17 +00:00
2022-01-20 08:52:52 +02:00
2021-05-07 00:26:35 -07:00
2021-06-16 09:24:42 -07:00
2021-05-05 11:27:27 -07:00
2021-04-16 16:10:37 -07:00
2021-11-06 14:08:17 -07:00
2021-11-06 14:08:17 -07:00
2020-08-21 09:52:53 -07:00
2021-10-28 17:18:55 -07:00
2021-11-17 10:36:35 -05:00
2021-04-16 16:10:36 -07:00
2021-05-22 15:09:07 -10:00
2021-11-06 13:30:43 -07:00
2021-11-20 10:35:54 -08:00
2021-11-20 10:35:54 -08:00
2021-11-20 10:35:54 -08:00
2021-12-10 17:10:56 -08:00
2021-11-06 13:30:36 -07:00
2021-11-06 13:30:41 -07:00
2020-06-03 20:09:48 -07:00
2021-12-03 10:58:13 -08:00
2021-10-18 07:49:40 -04:00
2021-11-20 10:35:54 -08:00
2021-11-06 14:08:17 -07:00
2021-11-09 10:02:48 -08:00
2020-08-12 10:57:58 -07:00
2021-11-13 12:03:03 -08:00
2021-11-17 10:36:35 -05:00
2020-06-10 19:14:18 -07:00
2021-11-06 13:30:37 -07:00
2021-11-06 13:30:40 -07:00
2021-12-31 13:12:55 -08:00
2021-11-06 13:30:42 -07:00
2021-11-09 10:11:53 -08:00
2021-07-01 11:06:03 -07:00
2021-07-01 11:06:03 -07:00
2021-05-07 00:26:35 -07:00
2021-11-06 13:30:43 -07:00
2021-06-30 20:47:31 -07:00