diff options
author | 2019-05-20 09:29:42 +0200 | |
---|---|---|
committer | 2019-05-27 17:31:11 +0200 | |
commit | ee1ef05d02b03118e4c197e1193329f5b64246b7 (patch) | |
tree | 61e34e68b7e7ff52086b99d458a10b55680e3137 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommu/dma: Cleanup variable naming in iommu_dma_alloc (diff) | |
download | wireguard-linux-ee1ef05d02b03118e4c197e1193329f5b64246b7.tar.xz wireguard-linux-ee1ef05d02b03118e4c197e1193329f5b64246b7.zip |
iommu/dma: Refactor iommu_dma_alloc, part 2
All the logic in iommu_dma_alloc that deals with page allocation from
the CMA or page allocators can be split into a self-contained helper,
and we can than map the result of that or the atomic pool allocation
with the iommu later. This also allows reusing __iommu_dma_free to
tear down the allocations and MMU mappings when the IOMMU mapping
fails.
Based on a patch from Robin Murphy.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions