Re: [PATCH v2 3/3] infiniband/mm: convert to the new put_user_page[s]() calls

2018-10-05 Thread John Hubbard
On 10/5/18 8:20 AM, Jason Gunthorpe wrote: > On Thu, Oct 04, 2018 at 09:02:25PM -0700, john.hubb...@gmail.com wrote: >> From: John Hubbard >> >> For code that retains pages via get_user_pages*(), >> release those pages via the new put_user_page(), >> instead of put_page(). >> >> This prepares for

Re: [PATCH v2 3/3] infiniband/mm: convert to the new put_user_page[s]() calls

2018-10-05 Thread John Hubbard
On 10/5/18 8:20 AM, Jason Gunthorpe wrote: > On Thu, Oct 04, 2018 at 09:02:25PM -0700, john.hubb...@gmail.com wrote: >> From: John Hubbard >> >> For code that retains pages via get_user_pages*(), >> release those pages via the new put_user_page(), >> instead of put_page(). >> >> This prepares for

Re: [PATCH v2 3/3] infiniband/mm: convert to the new put_user_page[s]() calls

2018-10-05 Thread Jason Gunthorpe
On Thu, Oct 04, 2018 at 09:02:25PM -0700, john.hubb...@gmail.com wrote: > From: John Hubbard > > For code that retains pages via get_user_pages*(), > release those pages via the new put_user_page(), > instead of put_page(). > > This prepares for eventually fixing the problem described > in [1],

Re: [PATCH v2 3/3] infiniband/mm: convert to the new put_user_page[s]() calls

2018-10-05 Thread Jason Gunthorpe
On Thu, Oct 04, 2018 at 09:02:25PM -0700, john.hubb...@gmail.com wrote: > From: John Hubbard > > For code that retains pages via get_user_pages*(), > release those pages via the new put_user_page(), > instead of put_page(). > > This prepares for eventually fixing the problem described > in [1],

[PATCH v2 3/3] infiniband/mm: convert to the new put_user_page[s]() calls

2018-10-04 Thread john . hubbard
From: John Hubbard For code that retains pages via get_user_pages*(), release those pages via the new put_user_page(), instead of put_page(). This prepares for eventually fixing the problem described in [1], and is following a plan listed in [2], [3], [4]. [1] https://lwn.net/Articles/753027/

[PATCH v2 3/3] infiniband/mm: convert to the new put_user_page[s]() calls

2018-10-04 Thread john . hubbard
From: John Hubbard For code that retains pages via get_user_pages*(), release those pages via the new put_user_page(), instead of put_page(). This prepares for eventually fixing the problem described in [1], and is following a plan listed in [2], [3], [4]. [1] https://lwn.net/Articles/753027/