Re: [PATCH v4 1/3] mm: get_user_pages: consolidate error handling

2018-10-08 Thread Andrew Morton
On Mon, 8 Oct 2018 14:16:21 -0700 john.hubb...@gmail.com wrote: > 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 single location

[PATCH v4 1/3] mm: get_user_pages: consolidate error handling

2018-10-08 Thread john . hubbard
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 single location (the "out:" label) for operating on the collected set o