On Mon, Oct 7, 2024 at 3:16 PM David Wei <dw@xxxxxxxxxxx> wrote: > > From: Jakub Kicinski <kuba@xxxxxxxxxx> > > The page providers which try to reuse the same pages will > need to hold onto the ref, even if page gets released from > the pool - as in releasing the page from the pp just transfers > the "ownership" reference from pp to the provider, and provider > will wait for other references to be gone before feeding this > page back into the pool. > > Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx> > [Pavel] Rebased, renamed callback, +converted devmem > Signed-off-by: Pavel Begunkov <asml.silence@xxxxxxxxx> > Signed-off-by: David Wei <dw@xxxxxxxxxxx> Likely needs a Cc: Christoph Hellwig <hch@xxxxxx>, given previous feedback to this patch? But that's going to run into the same feedback again. You don't want to do this without the ops again? -- Thanks, Mina