summaryrefslogtreecommitdiff
path: root/ipc/util.c
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2020-01-23 17:03:09 +0300
committerVinod Koul <vkoul@kernel.org>2020-02-25 08:57:27 +0300
commit247b4d83d6525d04278333cf201d6e3b066c9ca5 (patch)
tree7f6d3e7ae9ef4eecbc2f723a63b437df714b71bb /ipc/util.c
parentceb2c14c5908565ac49f9b6a5c0d9e93f2099ea0 (diff)
downloadlinux-247b4d83d6525d04278333cf201d6e3b066c9ca5.tar.xz
dmaengine: at_hdmac: Switch atomic allocations to GFP_NOWAIT
Avoids sleeping without depleting the emergency pool. The rationale being that in most cases a dma device is either offloading an operation that will automatically fallback to software when the descriptor allocation fails, or we can simply poll and wait for the dma device to release some in use descriptors. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com> Link: https://lore.kernel.org/r/20200123140237.125799-5-tudor.ambarus@microchip.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions