diff options
author | 2018-01-09 22:15:30 +0100 | |
---|---|---|
committer | 2018-01-15 09:35:49 +0100 | |
commit | 0176adb004065d6815a8e67946752df4cd947c5b (patch) | |
tree | e2e9a646e644709c854f4f9fdd3c1827bb796931 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | swiotlb: refactor coherent buffer freeing (diff) | |
download | wireguard-linux-0176adb004065d6815a8e67946752df4cd947c5b.tar.xz wireguard-linux-0176adb004065d6815a8e67946752df4cd947c5b.zip |
swiotlb: refactor coherent buffer allocation
Factor out a new swiotlb_alloc_buffer helper that allocates DMA coherent
memory from the swiotlb bounce buffer.
This allows to simplify the swiotlb_alloc implemenation that uses
dma_direct_alloc to try to allocate a reachable buffer first.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions