Minchan Kim
937790699b
mm/page_io.c: annotate refault stalls from swap_readpage
...
If a block device supports rw_page operation, it doesn't submit bios so
the annotation in submit_bio() for refault stall doesn't work. It
happens with zram in android, especially swap read path which could
consume CPU cycle for decompress. It is also a problem for zswap which
uses frontswap.
Annotate swap_readpage() to account the synchronous IO overhead to
prevent underreport memory pressure.
[akpm@linux-foundation.org: add comment, per Johannes]
Link: http://lkml.kernel.org/r/20191010152134.38545-1-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@google.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Cc: Seth Jennings <sjenning@redhat.com>
Cc: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-12-01 12:59:11 -08:00
..
2019-12-01 12:59:05 -08:00
2019-10-06 09:11:35 -06:00
2019-09-04 07:42:01 -04:00
2019-07-12 12:24:03 -07:00
2019-12-01 12:59:09 -08:00
2019-12-01 12:59:09 -08:00
2017-11-02 11:10:55 +01:00
2019-10-14 15:04:01 -07:00
2017-11-02 11:10:55 +01:00
2019-11-15 18:34:00 -08:00
2019-07-12 11:05:46 -07:00
2017-12-11 14:54:44 +01:00
2019-08-30 22:43:58 -07:00
2019-07-12 11:05:43 -07:00
2019-12-01 06:29:18 -08:00
2019-09-25 17:51:41 -07:00
2019-06-19 17:09:52 +02:00
2019-05-14 09:47:45 -07:00
2019-12-01 06:29:18 -08:00
2018-12-28 12:11:47 -08:00
2019-11-23 19:56:45 -04:00
2019-12-01 12:59:09 -08:00
2019-11-15 18:34:00 -08:00
2019-12-01 12:59:08 -08:00
2019-12-01 12:59:09 -08:00
2019-10-19 06:32:32 -04:00
2019-12-01 12:59:06 -08:00
2019-06-19 17:09:08 +02:00
2019-12-01 12:59:10 -08:00
2019-09-24 15:54:08 -07:00
2019-12-01 12:59:09 -08:00
2019-06-05 17:37:06 +02:00
2019-10-14 08:56:16 -07:00
2019-11-22 09:11:18 -08:00
2019-07-12 11:05:44 -07:00
2019-11-02 12:39:12 -07:00
2019-12-01 12:59:09 -08:00
2019-11-06 13:03:36 +01:00
2019-11-06 13:03:36 +01:00
2019-12-01 12:59:08 -08:00
2019-12-01 12:59:06 -08:00
2019-09-24 15:54:08 -07:00
2019-12-01 12:59:10 -08:00
2019-12-01 12:59:04 -08:00
2019-12-01 12:59:10 -08:00
2019-12-01 12:59:07 -08:00
2019-03-05 21:07:20 -08:00
2019-10-19 06:32:32 -04:00
2017-11-02 11:10:55 +01:00
2019-12-01 12:59:09 -08:00
2019-09-25 17:51:41 -07:00
2019-09-25 17:51:41 -07:00
2019-05-21 10:50:45 +02:00
2019-12-01 12:59:09 -08:00
2017-03-02 08:42:38 +01:00
2019-09-24 15:54:09 -07:00
2019-11-30 10:33:14 -08:00
2017-11-02 11:10:55 +01:00
2019-12-01 12:59:09 -08:00
2019-12-01 06:29:19 -08:00
2019-09-25 17:51:41 -07:00
2019-12-01 06:29:19 -08:00
2019-09-25 17:51:41 -07:00
2019-12-01 12:59:06 -08:00
2018-06-07 17:34:36 -07:00
2019-10-14 15:04:00 -07:00
2019-06-29 16:43:45 +08:00
2019-12-01 12:59:11 -08:00
2019-12-01 12:59:04 -08:00
2019-10-19 06:32:31 -04:00
2019-09-24 15:54:08 -07:00
2019-09-24 15:54:08 -07:00
2019-08-27 09:22:38 -06:00
2019-11-06 13:02:43 +01:00
2019-03-13 12:25:31 -07:00
2019-06-05 17:37:16 +02:00
2019-06-05 17:37:16 +02:00
2019-06-05 17:37:16 +02:00
2019-09-04 13:40:49 -07:00
2019-12-01 06:29:19 -08:00
2019-05-30 11:26:32 -07:00
2019-05-21 10:50:45 +02:00
2019-12-01 12:59:09 -08:00
2019-06-05 17:37:17 +02:00
2019-12-01 12:59:10 -08:00
2019-10-07 15:47:19 -07:00
2019-05-14 19:52:48 -07:00
2019-12-01 06:29:17 -08:00
2019-12-01 06:29:17 -08:00
2019-12-01 12:59:06 -08:00
2019-10-07 15:47:20 -07:00
2019-12-01 06:29:18 -08:00
2019-07-18 17:08:07 -07:00
2019-12-01 12:59:08 -08:00
2017-11-02 11:10:55 +01:00
2018-08-22 10:52:44 -07:00
2019-09-24 15:54:08 -07:00
2019-12-01 06:29:19 -08:00
2019-12-01 06:29:18 -08:00
2019-10-19 06:32:33 -04:00
2019-09-17 15:20:17 -07:00
2019-12-01 12:59:10 -08:00
2019-12-01 06:29:19 -08:00
2018-09-13 15:18:04 -10:00
2019-12-01 12:59:05 -08:00
2019-10-07 15:47:19 -07:00
2019-12-01 12:59:07 -08:00
2019-11-06 08:47:50 -08:00
2019-12-01 12:59:07 -08:00
2019-12-01 12:59:07 -08:00
2019-05-21 10:50:45 +02:00
2019-09-24 15:54:12 -07:00
2019-09-24 15:54:12 -07:00
2019-09-24 15:54:12 -07:00