Files
twx-linux/lib
Mikulas Patocka fb8067f18b dma-debug: change allocation mode from GFP_NOWAIT to GFP_ATIOMIC
[ Upstream commit 84bc4f1dbb ]

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:52:29 +02:00
..
2017-09-02 07:07:54 +02:00
2016-03-17 15:09:34 -07:00
2019-04-20 09:07:54 +02:00
2016-05-23 17:04:14 -07:00
2016-03-09 15:43:42 -08:00
2016-04-23 20:13:24 -04:00
2018-10-18 09:13:24 +02:00
2016-09-19 08:19:40 -06:00
2016-05-30 15:26:57 -07:00