On Wed, Mar 08, 2023 at 08:06:26PM +0800, Baolu Lu wrote: > On 2023/3/8 8:35, Jason Gunthorpe wrote: > > iommufd wants to use this in the next patch. For some reason the > > iommu_put_resv_regions() was already exported. > > "virtio-iommu calls it and can be modular." > > https://lore.kernel.org/all/20220708093332.GA28988@xxxxxx/ Yes, but that seems to be pretty weird on its own as the list it is managing wasn't really created by the iommu core code, and doesn't need to use the free callback.. Jason