Re: [RFC PATCH 0/5] iommupt: Introduce IO page table shrinker

From: Jason Gunthorpe

Date: Mon Nov 09 2026 - 09:58:30 EST


On Mon, Nov 09, 2026 at 12:34:54PM +0000, Mostafa Saleh wrote:

> I believe there is a value in supporting other users beyond IOMMUFD/VFIO
> (eg. DMA domains) or even outside of iommupt, I haven't investigated this,
> but it's worth looking into either integrating the "iommupt clean(gap)"
> idea in the IOVA allocator or more generally rely on refcounting +
> shrinker (or other method).

The main point is to avoid the refcounting because that is going to be a
perf negative for everyone..

I think most people should be able to do a clean call, and if it is
routed as a generic domain function that would be fine too

Jason