diff options
| author | Mikulas Patocka <[email protected]> | 2022-05-10 17:17:32 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2022-05-11 17:48:34 +0000 |
| commit | 84bc4f1dbbbb5f8aa68706a96711dccb28b518e5 (patch) | |
| tree | afd9910f391ccf3a04aa03f6fb87becf76af4388 /drivers/fpga/machxo2-spi.c | |
| parent | dma-direct: don't fail on highmem CMA pages in dma_direct_alloc_pages (diff) | |
| download | kernel-84bc4f1dbbbb5f8aa68706a96711dccb28b518e5.tar.gz kernel-84bc4f1dbbbb5f8aa68706a96711dccb28b518e5.zip | |
dma-debug: change allocation mode from GFP_NOWAIT to GFP_ATIOMIC
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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions
