[PATCH v3 01/10] iommu/vt-d: add wrapper functions for page allocations
David Rientjes
rientjes at google.com
Tue Dec 26 16:27:37 PST 2023
On Tue, 26 Dec 2023, Pasha Tatashin wrote:
> In order to improve observability and accountability of IOMMU layer, we
> must account the number of pages that are allocated by functions that
> are calling directly into buddy allocator.
>
> This is achieved by first wrapping the allocation related functions into a
> separate inline functions in new file:
>
> drivers/iommu/iommu-pages.h
>
> Convert all page allocation calls under iommu/intel to use these new
> functions.
>
> 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