Re: [PATCH 00/16] IOMMU memory observability

2023-11-28 Thread Yosry Ahmed
On Tue, Nov 28, 2023 at 4:28 PM Jason Gunthorpe wrote: > > On Tue, Nov 28, 2023 at 04:25:03PM -0800, Yosry Ahmed wrote: > > > > > Right, but as I mention above, if userspace starts depending on this > > > > equation, we won't be able to add any more classes

Re: [PATCH 00/16] IOMMU memory observability

2023-11-28 Thread Yosry Ahmed
On Tue, Nov 28, 2023 at 3:52 PM Jason Gunthorpe wrote: > > On Tue, Nov 28, 2023 at 03:03:30PM -0800, Yosry Ahmed wrote: > > > Yes, another counter for KVM could be added. On the other hand KVM > > > only can be computed by subtracting one from another as there are

Re: [PATCH 00/16] IOMMU memory observability

2023-11-28 Thread Yosry Ahmed
On Tue, Nov 28, 2023 at 12:49 PM Pasha Tatashin wrote: > > From: Pasha Tatashin > > IOMMU subsystem may contain state that is in gigabytes. Majority of that > state is iommu page tables. Yet, there is currently, no way to observe > how much memory is actually used by the iommu subsystem. > > This