-
- Downloads
dmaengine: provide a common 'issue_pending_all' implementation
async_tx and net_dma each have open-coded versions of issue_pending_all, so provide a common routine in dmaengine. The implementation needs to walk the global device list, so implement rcu to allow dma_issue_pending_all to run lockless. Clients protect themselves from channel removal events by holding a dmaengine reference. Reviewed-by:Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Dan Williams <dan.j.williams@intel.com>
Showing
- crypto/async_tx/async_tx.c 0 additions, 12 deletionscrypto/async_tx/async_tx.c
- drivers/dma/dmaengine.c 24 additions, 3 deletionsdrivers/dma/dmaengine.c
- include/linux/async_tx.h 1 addition, 1 deletioninclude/linux/async_tx.h
- include/linux/dmaengine.h 1 addition, 0 deletionsinclude/linux/dmaengine.h
- net/core/dev.c 1 addition, 8 deletionsnet/core/dev.c
Loading
Please register or sign in to comment