Re: [PATCH 1/1] infiniband/mm: convert put_page() to put_user_page*()

From: John Hubbard
Date: Thu May 23 2019 - 18:57:09 EST


On 5/23/19 3:50 PM, John Hubbard wrote:
> [...]
> I was thinking of it as a temporary measure, only up until, but not including the
> point where put_user_pages() becomes active. That is, the point when put_user_pages
> starts decrementing GUP_PIN_COUNTING_BIAS, instead of just forwarding to put_page().
>
> (For other readers, that's this patch:
>
> "mm/gup: debug tracking of get_user_pages() references"
>
> ...in https://github.com/johnhubbard/linux/tree/gup_dma_core )
>

Arggh, correction, I meant this patch:

"mm/gup: track gup-pinned pages"

...sorry for any confusion there.

thanks,
--
John Hubbard
NVIDIA