Re: [PATCH v5 22/24] mm: use custom page_free for P2PDMA pages

From: Logan Gunthorpe
Date: Fri Jan 28 2022 - 11:52:40 EST




On 2022-01-28 7:22 a.m., Jason Gunthorpe wrote:
> On Thu, Jan 27, 2022 at 05:26:12PM -0700, Logan Gunthorpe wrote:
>> When P2PDMA pages are passed to userspace, they will need to be
>> reference counted properly and returned to their genalloc after their
>> reference count returns to 1. This is accomplished with the existing
>
> It is reference count returns to 0 now, right?

Right, yes.

Thanks,

Logan