Re: [PATCH v2 1/6] mm/gup: finish consolidating error handling

2018-11-14 Thread John Hubbard
On 11/12/18 8:14 AM, Dan Williams wrote: On Mon, Nov 12, 2018 at 7:45 AM Keith Busch wrote: On Sat, Nov 10, 2018 at 12:50:36AM -0800, john.hubb...@gmail.com wrote: From: John Hubbard An upcoming patch wants to be able to operate on each page that get_user_pages has retrieved. In order to

Re: [PATCH v2 1/6] mm/gup: finish consolidating error handling

2018-11-14 Thread John Hubbard
On 11/12/18 8:14 AM, Dan Williams wrote: On Mon, Nov 12, 2018 at 7:45 AM Keith Busch wrote: On Sat, Nov 10, 2018 at 12:50:36AM -0800, john.hubb...@gmail.com wrote: From: John Hubbard An upcoming patch wants to be able to operate on each page that get_user_pages has retrieved. In order to

Re: [PATCH v2 1/6] mm/gup: finish consolidating error handling

2018-11-12 Thread Dan Williams
On Mon, Nov 12, 2018 at 7:45 AM Keith Busch wrote: > > On Sat, Nov 10, 2018 at 12:50:36AM -0800, john.hubb...@gmail.com wrote: > > From: John Hubbard > > > > An upcoming patch wants to be able to operate on each page that > > get_user_pages has retrieved. In order to do that, it's best to > >

Re: [PATCH v2 1/6] mm/gup: finish consolidating error handling

2018-11-12 Thread Dan Williams
On Mon, Nov 12, 2018 at 7:45 AM Keith Busch wrote: > > On Sat, Nov 10, 2018 at 12:50:36AM -0800, john.hubb...@gmail.com wrote: > > From: John Hubbard > > > > An upcoming patch wants to be able to operate on each page that > > get_user_pages has retrieved. In order to do that, it's best to > >

Re: [PATCH v2 1/6] mm/gup: finish consolidating error handling

2018-11-12 Thread Keith Busch
On Sat, Nov 10, 2018 at 12:50:36AM -0800, john.hubb...@gmail.com wrote: > From: John Hubbard > > An upcoming patch wants to be able to operate on each page that > get_user_pages has retrieved. In order to do that, it's best to > have a common exit point from the routine. Most of this has been >

Re: [PATCH v2 1/6] mm/gup: finish consolidating error handling

2018-11-12 Thread Keith Busch
On Sat, Nov 10, 2018 at 12:50:36AM -0800, john.hubb...@gmail.com wrote: > From: John Hubbard > > An upcoming patch wants to be able to operate on each page that > get_user_pages has retrieved. In order to do that, it's best to > have a common exit point from the routine. Most of this has been >

[PATCH v2 1/6] mm/gup: finish consolidating error handling

2018-11-10 Thread john . hubbard
From: John Hubbard An upcoming patch wants to be able to operate on each page that get_user_pages has retrieved. In order to do that, it's best to have a common exit point from the routine. Most of this has been taken care of by commit df06b37ffe5a4 ("mm/gup: cache dev_pagemap while pinning

[PATCH v2 1/6] mm/gup: finish consolidating error handling

2018-11-10 Thread john . hubbard
From: John Hubbard An upcoming patch wants to be able to operate on each page that get_user_pages has retrieved. In order to do that, it's best to have a common exit point from the routine. Most of this has been taken care of by commit df06b37ffe5a4 ("mm/gup: cache dev_pagemap while pinning