diff options
author | 2023-10-30 11:26:33 -0300 | |
---|---|---|
committer | 2023-10-30 11:36:04 -0300 | |
commit | 361d744ddd61de065fbeb042aaed590d32dd92ec (patch) | |
tree | 78a027ced85fd087198b0e27552e5b78c34ebf76 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommufd: Fix missing update of domains_itree after splitting iopt_area (diff) | |
download | wireguard-linux-361d744ddd61de065fbeb042aaed590d32dd92ec.tar.xz wireguard-linux-361d744ddd61de065fbeb042aaed590d32dd92ec.zip |
iommufd: Add iopt_area_alloc()
We never initialize the two interval tree nodes, and zero fill is not the
same as RB_CLEAR_NODE. This can hide issues where we missed adding the
area to the trees. Factor out the allocation and clear the two nodes.
Fixes: 51fe6141f0f6 ("iommufd: Data structure to provide IOVA to PFN mapping")
Link: https://lore.kernel.org/r/20231030145035.GG691768@ziepe.ca
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions