Mikulas Patocka
e202dad519
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-09 10:22:37 +02:00
..
2022-06-06 08:43:42 +02:00
2022-05-18 10:26:56 +02:00
2022-05-25 09:57:37 +02:00
2022-06-09 10:22:37 +02:00
2021-11-25 09:49:07 +01:00
2022-05-25 09:57:27 +02:00
2022-05-30 09:29:00 +02:00
2021-09-02 13:00:15 -07:00
2022-04-08 14:23:29 +02:00
2022-04-08 14:23:57 +02:00
2022-04-08 14:23:07 +02:00
2022-04-08 14:23:19 +02:00
2022-06-09 10:22:32 +02:00
2022-06-09 10:22:36 +02:00
2022-05-30 09:29:13 +02:00
2022-05-01 17:22:26 +02:00
2021-09-08 11:50:26 -07:00
2022-02-23 12:03:07 +01:00
2021-08-24 18:52:36 -04:00
2022-02-08 18:34:03 +01:00
2022-04-08 14:23:06 +02:00
2022-04-08 14:23:06 +02:00
2021-08-11 13:11:12 -07:00
2021-09-08 15:32:35 -07:00
2021-08-16 18:55:32 +02:00
2022-05-30 09:29:09 +02:00
2021-12-29 12:28:49 +01:00
2022-02-23 12:03:20 +01:00
2021-08-23 13:10:37 -06:00
2022-03-08 19:12:49 +01:00
2021-09-03 23:00:22 +02:00
2021-08-17 17:50:51 +02:00
2021-08-30 16:36:10 +02:00
2021-09-08 15:32:34 -07:00
2021-12-08 09:04:41 +01:00
2022-04-13 20:59:28 +02:00
2022-02-23 12:03:07 +01:00
2021-08-16 18:55:32 +02:00
2021-09-03 09:58:12 -07:00
2021-08-27 16:30:18 +08:00
2021-08-30 16:36:10 +02:00
2021-08-16 14:42:22 +02:00
2021-09-03 09:58:12 -07:00
2021-08-10 12:53:07 +02:00
2021-09-08 11:50:26 -07:00
2022-06-09 10:22:29 +02:00
2022-04-08 14:23:43 +02:00
2022-04-08 14:23:10 +02:00
2021-07-27 11:39:30 -07:00
2021-11-18 19:16:29 +01:00
2022-02-16 12:56:38 +01:00
2022-03-08 19:12:34 +01:00
2022-04-20 09:34:21 +02:00
2021-08-10 14:57:42 +02:00
2021-08-10 22:50:07 +02:00
2022-02-23 12:03:07 +01:00
2022-04-13 20:59:28 +02:00
2022-04-13 20:59:28 +02:00
2022-04-13 20:59:28 +02:00
2021-09-08 15:32:35 -07:00
2022-02-23 12:03:20 +01:00
2022-03-11 12:22:31 +01:00
2021-08-10 10:48:07 -07:00
2021-08-16 11:39:51 -04:00
2022-01-27 11:05:35 +01:00
2022-02-23 12:03:20 +01:00
2022-03-08 19:12:42 +01:00
2021-09-08 11:50:27 -07:00
2022-04-08 14:24:11 +02:00
2021-08-17 07:49:10 -10:00
2022-01-16 09:12:41 +01:00