Re: [PATCH 16/20] mm: Provide helper for finishing mkwrite faults

2016-10-20 Thread Jan Kara
On Wed 19-10-16 11:21:52, Ross Zwisler wrote: > On Wed, Oct 19, 2016 at 09:16:00AM +0200, Jan Kara wrote: > > > > @@ -2315,26 +2335,17 @@ static int wp_page_shared(struct vm_fault *vmf) > > > > put_page(vmf->page); > > > > return tmp; > > > >

Re: [PATCH 16/20] mm: Provide helper for finishing mkwrite faults

2016-10-19 Thread Ross Zwisler
On Wed, Oct 19, 2016 at 09:16:00AM +0200, Jan Kara wrote: > On Tue 18-10-16 12:35:25, Ross Zwisler wrote: > > On Tue, Sep 27, 2016 at 06:08:20PM +0200, Jan Kara wrote: > > > Provide a helper function for finishing write faults due to PTE being > > > read-only. The helper will be used by DAX to

Re: [PATCH 16/20] mm: Provide helper for finishing mkwrite faults

2016-10-19 Thread Jan Kara
On Tue 18-10-16 12:35:25, Ross Zwisler wrote: > On Tue, Sep 27, 2016 at 06:08:20PM +0200, Jan Kara wrote: > > Provide a helper function for finishing write faults due to PTE being > > read-only. The helper will be used by DAX to avoid the need of > > complicating generic MM code with DAX locking

Re: [PATCH 16/20] mm: Provide helper for finishing mkwrite faults

2016-10-18 Thread Ross Zwisler
On Tue, Sep 27, 2016 at 06:08:20PM +0200, Jan Kara wrote: > Provide a helper function for finishing write faults due to PTE being > read-only. The helper will be used by DAX to avoid the need of > complicating generic MM code with DAX locking specifics. > > Signed-off-by: Jan Kara

[PATCH 16/20] mm: Provide helper for finishing mkwrite faults

2016-09-27 Thread Jan Kara
Provide a helper function for finishing write faults due to PTE being read-only. The helper will be used by DAX to avoid the need of complicating generic MM code with DAX locking specifics. Signed-off-by: Jan Kara --- include/linux/mm.h | 1 + mm/memory.c| 65