summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2022-05-10 13:17:32 -0400
committerChristoph Hellwig <hch@lst.de>2022-05-11 19:48:34 +0200
commit84bc4f1dbbbb5f8aa68706a96711dccb28b518e5 (patch)
treeafd9910f391ccf3a04aa03f6fb87becf76af4388 /.clang-format
parent92826e967535db2eb117db227b1191aaf98e4bb3 (diff)
downloadlinux-84bc4f1dbbbb5f8aa68706a96711dccb28b518e5.tar.bz2
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 <mpatocka@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions