Mikulas Patocka
a4d4e55e34
dma-debug: change allocation mode from GFP_NOWAIT to GFP_ATIOMIC
...
[ Upstream commit 84bc4f1dbbbb5f8aa68706a96711dccb28b518e5 ]
We observed the error "cacheline tracking ENOMEM, dma-debug disabled"
during a light system load (copying some files). The reason for this error
is that the dma_active_cacheline radix tree uses GFP_NOWAIT allocation -
so it can't access the emergency memory reserves and it fails as soon as
anybody reaches the watermark.
This patch changes GFP_NOWAIT to GFP_ATOMIC, so that it can access the
emergency memory reserves.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com >
Signed-off-by: Christoph Hellwig <hch@lst.de >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2022-06-14 16:59:16 +02:00
..
2022-02-16 12:51:45 +01:00
2022-05-18 09:42:49 +02:00
2021-03-04 09:39:31 +01:00
2022-06-14 16:59:16 +02:00
2022-05-25 09:10:38 +02:00
2020-09-17 13:45:31 +02:00
2022-05-12 12:20:24 +02:00
2019-10-07 18:57:10 +02:00
2021-11-26 11:36:04 +01:00
2022-04-15 14:14:43 +02:00
2022-04-15 14:14:45 +02:00
2021-09-26 13:39:46 +02:00
2022-04-15 14:14:44 +02:00
2021-12-22 09:19:03 +01:00
2022-04-27 13:39:42 +02:00
2019-05-31 06:46:05 -07:00
2022-02-23 11:58:38 +01:00
2019-12-13 08:51:11 +01:00
2020-10-01 13:14:33 +02:00
2022-02-08 18:23:13 +01:00
2020-06-22 09:05:13 +02:00
2020-06-22 09:05:13 +02:00
2019-12-01 09:17:17 +01:00
2018-11-13 11:08:47 -08:00
2020-01-23 08:21:29 +01:00
2020-06-22 09:04:58 +02:00
2020-06-22 09:05:28 +02:00
2021-07-20 16:16:04 +02:00
2018-08-22 10:52:47 -07:00
2020-01-09 10:19:00 +01:00
2021-01-30 13:32:11 +01:00
2020-11-24 13:27:23 +01:00
2021-09-22 11:48:09 +02:00
2021-07-11 12:49:30 +02:00
2019-04-20 09:16:02 +02:00
2019-05-31 06:46:19 -07:00
2021-03-04 09:39:30 +01:00
2020-07-16 08:17:26 +02:00
2019-02-12 19:47:20 +01:00
2021-02-03 23:23:23 +01:00
2021-05-22 10:59:44 +02:00
2020-04-17 10:48:52 +02:00
2021-12-08 08:50:12 +01:00
2021-07-11 12:49:31 +02:00
2021-02-10 09:21:06 +01:00
2020-01-29 16:43:27 +01:00
2022-02-23 11:58:38 +01:00
2020-03-25 08:06:13 +01:00
2021-08-08 08:54:30 +02:00
2019-12-01 09:17:10 +01:00
2021-09-22 11:48:09 +02:00
2019-01-13 09:51:06 +01:00
2021-09-26 13:39:48 +02:00
2022-06-14 16:59:14 +02:00
2020-11-18 19:18:52 +01:00
2020-08-26 10:30:59 +02:00
2019-09-16 08:22:20 +02:00
2022-02-16 12:51:47 +01:00
2021-11-26 11:36:02 +01:00
2022-04-20 09:12:50 +02:00
2021-02-07 14:48:38 +01:00
2021-09-26 13:39:47 +02:00
2022-03-11 10:15:11 +01:00
2020-01-09 10:18:59 +01:00
2021-07-20 16:15:42 +02:00
2022-02-23 11:58:39 +01:00
2020-10-14 10:31:21 +02:00
2021-05-22 10:59:39 +02:00
2018-11-13 11:09:00 -08:00
2018-08-22 10:52:47 -07:00
2018-08-30 12:56:40 +02:00
2020-02-24 08:34:49 +01:00
2021-11-26 11:36:06 +01:00