diff options
author | Ilya Yanok <yanok@emcraft.com> | 2010-10-27 01:52:58 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-12-29 22:29:36 -0700 |
commit | a276991357c63bfb8d3ffdf5800054dba4f8d558 (patch) | |
tree | 8a3bb0d23eb2011f69e426ab1d87bbe311567c96 /arch/powerpc/boot | |
parent | ba2eea251f815b3674cde13ecdba4772332bf56e (diff) | |
download | op-kernel-dev-a276991357c63bfb8d3ffdf5800054dba4f8d558.zip op-kernel-dev-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 'arch/powerpc/boot')
0 files changed, 0 insertions, 0 deletions