diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2013-06-21 09:37:50 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2013-06-21 09:37:50 -0600 |
commit | cd9b22685e4ccd728550d51fbe108c473f89df4f (patch) | |
tree | 36ca96bd395c621c33db63b8b5e7014f5005515b /include | |
parent | 7d132055814ef17a6c7b69f342244c410a5e000f (diff) | |
download | op-kernel-dev-cd9b22685e4ccd728550d51fbe108c473f89df4f.zip op-kernel-dev-cd9b22685e4ccd728550d51fbe108c473f89df4f.tar.gz |
vfio: Convert type1 iommu to use rbtree
We need to keep track of all the DMA mappings of an iommu container so
that it can be automatically unmapped when the user releases the file
descriptor. We currently do this using a simple list, where we merge
entries with contiguous iovas and virtual addresses. Using a tree for
this is a bit more efficient and allows us to use common code instead
of inventing our own.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions