Re: [PATCH v3 10/10] iommu: account IOMMU allocated memory

From: David Rientjes
Date: Tue Dec 26 2023 - 19:25:48 EST


On Tue, 26 Dec 2023, Pasha Tatashin wrote:

> In order to be able to limit the amount of memory that is allocated
> by IOMMU subsystem, the memory must be accounted.
>
> Account IOMMU as part of the secondary pagetables as it was discussed
> at LPC.
>
> The value of SecPageTables now contains mmeory allocation by IOMMU
> and KVM.
>
> Signed-off-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>