Re: [PATCH v2 04/11] iommu/vt-d: Remove domain and devinfo mempool

From: Jason Gunthorpe
Date: Thu Feb 24 2022 - 08:01:20 EST


On Mon, Feb 14, 2022 at 10:56:57AM +0800, Lu Baolu wrote:
> The domain and devinfo memory blocks are only allocated during device
> probe and released during remove. There's no hot-path context, hence
> no need for memory pools.
>
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> ---
> drivers/iommu/intel/iommu.c | 104 ++----------------------------------
> 1 file changed, 5 insertions(+), 99 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason