Re: [PATCH V4 02/10] iommufd: Move igroup allocation to a function

From: Jacob Pan

Date: Tue May 05 2026 - 17:32:23 EST


Hi Kevin,

On Thu, 16 Apr 2026 07:48:27 +0000
"Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:

> > From: Jacob Pan <jacob.pan@xxxxxxxxxxxxxxxxxxx>
> > Sent: Wednesday, April 15, 2026 5:14 AM
> >
> > From: Jason Gunthorpe <jgg@xxxxxxxxxx>
> >
> > So it can be reused in the next patch which allows binding to
> > noiommu device.
> >
> > Reviewed-by: Samiullah Khawaja <skhawaja@xxxxxxxxxx>
> > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
> > Signed-off-by: Jacob Pan <jacob.pan@xxxxxxxxxxxxxxxxxxx>
>
> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>
>
> with a nit:
>
> > +
> > + /*
> > + * The ictx is not additionally refcounted here becase all
> > objects using
> > + * an igroup must put it before their destroy completes.
> > + */
>
> s/becase/because/, though it's not added by this patch
will do.

Thanks,