Re: [PATCH 03/12] iommufd/hw_pagetable: Use domain_alloc_user op for domain allocation

From: Baolu Lu
Date: Thu Mar 09 2023 - 20:19:03 EST


On 3/9/23 4:09 PM, Yi Liu wrote:
This converts IOMMUFD to use iommu_domain_alloc_user() for iommu_domain
creation.

Nit: I don't think this is a "convert" because iommu_domain_alloc() is
still there.


Suggested-by: Jason Gunthorpe<jgg@xxxxxxxxxx>
Co-developed-by: Nicolin Chen<nicolinc@xxxxxxxxxx>
Signed-off-by: Nicolin Chen<nicolinc@xxxxxxxxxx>
Signed-off-by: Yi Liu<yi.l.liu@xxxxxxxxx>

Anyway, I agree with the idea,

Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>

Best regards,
baolu