summary refs log tree commit diff
path: root/drivers/cdrom
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2010-10-27 01:52:58 +0200
committerGrant Likely <grant.likely@secretlab.ca>2010-12-29 22:29:36 -0700
commita276991357c63bfb8d3ffdf5800054dba4f8d558 (patch)
tree8a3bb0d23eb2011f69e426ab1d87bbe311567c96 /drivers/cdrom
parentba2eea251f815b3674cde13ecdba4772332bf56e (diff)
downloadlinux-a276991357c63bfb8d3ffdf5800054dba4f8d558.tar.gz
powerpc/512x: try to free dma descriptors in case of allocation failure
Currently completed descriptors are processed in the tasklet. This can
lead to dead lock in case of CONFIG_NET_DMA enabled (new requests are
submitted from softirq context and dma_memcpy_to_iovec() busy loops until
the requests is submitted). To prevent this we should process completed
descriptors from the allocation failure path in prepare_memcpy too.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Cc: Piotr Ziecik <kosmo@semihalf.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions