Re: [PATCH] orangefs: convert get_user_pages() --> pin_user_pages()

2020-05-17 Thread John Hubbard
On 2020-05-17 23:01, John Hubbard wrote: This code was using get_user_pages*(), in a "Case 2" scenario (DMA/RDMA), using the categorization from [1]. That means that it's time to convert the get_user_pages*() + put_page() calls to pin_user_pages*() + unpin_user_pages() calls. Oops, actually, ma

[PATCH] orangefs: convert get_user_pages() --> pin_user_pages()

2020-05-17 Thread John Hubbard
This code was using get_user_pages*(), in a "Case 2" scenario (DMA/RDMA), using the categorization from [1]. That means that it's time to convert the get_user_pages*() + put_page() calls to pin_user_pages*() + unpin_user_pages() calls. There is some helpful background in [2]: basically, this is a