Re: [PATCH v2 1/6] mm: get_user_pages: consolidate error handling

2018-07-02 Thread John Hubbard
On 07/02/2018 03:17 AM, Jan Kara wrote: > On Sun 01-07-18 17:56:49, john.hubb...@gmail.com wrote: >> From: John Hubbard >> >> An upcoming patch requires a way to operate on each page that >> any of the get_user_pages_*() variants returns. >> >> In preparation for that, consolidate the error handli

Re: [PATCH v2 1/6] mm: get_user_pages: consolidate error handling

2018-07-02 Thread Jan Kara
On Sun 01-07-18 17:56:49, john.hubb...@gmail.com wrote: > From: John Hubbard > > An upcoming patch requires a way to operate on each page that > any of the get_user_pages_*() variants returns. > > In preparation for that, consolidate the error handling for > __get_user_pages(). This provides a s