summaryrefslogtreecommitdiff
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2022-05-10 13:17:32 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-09 10:20:54 +0200
commit1ecd01d77c9bf5517617862d87b817804b67c771 (patch)
tree711ef7d27a2e532a0f54976f4069132489325bf1 /arch/sh/mm
parenta61583744ef63157d52117bb1cf08ad4de455ebf (diff)
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>
Diffstat (limited to 'arch/sh/mm')
0 files changed, 0 insertions, 0 deletions