Re: [PATCH] vfio: account iommu allocations

From: Jason Gunthorpe
Date: Mon Dec 04 2023 - 10:46:19 EST


On Thu, Nov 30, 2023 at 08:09:00PM +0000, Pasha Tatashin wrote:
> iommu allocations should be accounted in order to allow admins to
> monitor and limit the amount of iommu memory.
>
> Signed-off-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>
> ---
> drivers/vfio/vfio_iommu_type1.c | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> This patch is spinned of from the series:
>
>https://lore.kernel.org/all/20231128204938.1453583-1-pasha.tatashin@xxxxxxxxxx

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason