commit | dc8d4091575ba81e886ebcdfd1e559c981f82f86 | [log] [tgz] |
---|---|---|
author | Ira Snyder <iws@ovro.caltech.edu> | Thu Mar 03 07:55:00 2011 +0000 |
committer | Dan Williams <dan.j.williams@intel.com> | Fri Mar 11 17:52:37 2011 -0800 |
tree | 701c55d8e54d8f4c376a0af4ce10356875c86164 | |
parent | 9c4d1e7bdeb1ed4dc0c3341d40662a6fbc5f2dc2 [diff] |
fsldma: reduce locking during descriptor cleanup This merges the fsl_chan_ld_cleanup() function into the dma_do_tasklet() function to reduce locking overhead. In the best case, we will be able to keep the DMA controller busy while we are freeing used descriptors. In all cases, the spinlock is grabbed two times fewer than before on each transaction. Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu> Signed-off-by: Dan Williams <dan.j.williams@intel.com>