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

David Rientjes rientjes at google.com
Tue Dec 26 16:25:30 PST 2023


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 at soleen.com>

Acked-by: David Rientjes <rientjes at google.com>



More information about the Linux-rockchip mailing list