diff options
| author | Dan Williams <[email protected]> | 2009-01-06 18:38:14 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2009-01-06 18:38:14 +0000 |
| commit | 2ba05622b8b143b0c95968ba59bddfbd6d2f2559 (patch) | |
| tree | b7b72d02a993ff2ba731d6608f4ab8ce87482bcb /net/ipv4/tcp_input.c | |
| parent | dmaengine: centralize channel allocation, introduce dma_find_channel (diff) | |
| download | kernel-2ba05622b8b143b0c95968ba59bddfbd6d2f2559.tar.gz kernel-2ba05622b8b143b0c95968ba59bddfbd6d2f2559.zip | |
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 <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
