On Fri, Sep 18, 2026 at 12:25:01PM -0600, Logan Gunthorpe wrote:
> 
> 
> On 2026-09-14 05:22, Leon Romanovsky wrote:
> > From: Leon Romanovsky <[email protected]>
> > 
> > pdev->p2pdma is normally accessed through provider-owned references, but
> > pci_p2pmem_find_many() and the p2pmem sysfs attributes may race with driver
> > unbind.
> > 
> > Document initialization, teardown, and how the release grace period
> > protects both the P2PDMA state and its optional allocation pool.
> > 
> > Cc: Alex Williamson <[email protected]>
> > Cc: Matt Evans <[email protected]>
> > Signed-off-by: Leon Romanovsky <[email protected]>
> Reads correct to me.
> 
> Reviewed-by: Logan Gunthorpe <[email protected]>

Thanks, Logan. Unfortunately, I'm inclined to drop this patch. AI review
makes it nearly impossible to write the description without complaints.

If I use my own words to describe the lifetime, the tools complain about
almost every word or sentence. If I let the tools write it instead, the
result is complete junk that merely describes basics already obvious from
the code itself.

Thanks

Reply via email to