diff options
author | Ilya Yanok <yanok@emcraft.com> | 2010-10-26 19:52:58 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-12-30 00:29:36 -0500 |
commit | a276991357c63bfb8d3ffdf5800054dba4f8d558 (patch) | |
tree | 8a3bb0d23eb2011f69e426ab1d87bbe311567c96 /drivers/dma/coh901318.c | |
parent | ba2eea251f815b3674cde13ecdba4772332bf56e (diff) |
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/dma/coh901318.c')
0 files changed, 0 insertions, 0 deletions