JFYI, There was a preliminary discussion to move the iova rcache codeWould it be better to move the code into ./lib as a general library?
(which the iova fast alloc and free functions are based on) out of the
iova code and maybe into dma-iommu (being the only user). There was
other motivation.
https://lore.kernel.org/linux-iommu/83de3911-145d-77c8-17c1-981e4ff825d3@xxxxxxx/Do we have some plan for this work? From our test [1],
Having more users complicates that...
iova_alloc_fast() is much better than iova_alloc(). So I'd like to use
it as much as possible
[1]https://lore.kernel.org/kvm/CACycT3steXFeg7NRbWpo2J59dpYcumzcvM2zcPJAVe40-EvvEg@xxxxxxxxxxxxxx/