Re: [PATCH v4 1/2] Revert "mm: take i_mmap_lock in unmap_mapping_range() for DAX"

2015-10-07 Thread Ross Zwisler
On Wed, Oct 07, 2015 at 09:19:28AM -0700, Dan Williams wrote: > On Tue, Oct 6, 2015 at 3:28 PM, Ross Zwisler > wrote: > > diff --git a/mm/memory.c b/mm/memory.c > > index 9cb2747..5ec066f 100644 > > --- a/mm/memory.c > > +++ b/mm/memory.c > > @@ -2426,10 +2426,17 @@ void

Re: [PATCH v4 1/2] Revert "mm: take i_mmap_lock in unmap_mapping_range() for DAX"

2015-10-07 Thread Dan Williams
On Tue, Oct 6, 2015 at 3:28 PM, Ross Zwisler wrote: > This reverts commits 46c043ede4711e8d598b9d63c5616c1fedb0605e > and 8346c416d17bf5b4ea1508662959bb62e73fd6a5. > > The following two locking commits in the DAX code: > > commit 843172978bb9 ("dax: fix race between simultaneous faults") > commit

Re: [PATCH v4 1/2] Revert "mm: take i_mmap_lock in unmap_mapping_range() for DAX"

2015-10-07 Thread Ross Zwisler
On Wed, Oct 07, 2015 at 09:19:28AM -0700, Dan Williams wrote: > On Tue, Oct 6, 2015 at 3:28 PM, Ross Zwisler > wrote: > > diff --git a/mm/memory.c b/mm/memory.c > > index 9cb2747..5ec066f 100644 > > --- a/mm/memory.c > > +++ b/mm/memory.c > > @@ -2426,10 +2426,17 @@

Re: [PATCH v4 1/2] Revert "mm: take i_mmap_lock in unmap_mapping_range() for DAX"

2015-10-07 Thread Dan Williams
On Tue, Oct 6, 2015 at 3:28 PM, Ross Zwisler wrote: > This reverts commits 46c043ede4711e8d598b9d63c5616c1fedb0605e > and 8346c416d17bf5b4ea1508662959bb62e73fd6a5. > > The following two locking commits in the DAX code: > > commit 843172978bb9 ("dax: fix race between

[PATCH v4 1/2] Revert "mm: take i_mmap_lock in unmap_mapping_range() for DAX"

2015-10-06 Thread Ross Zwisler
This reverts commits 46c043ede4711e8d598b9d63c5616c1fedb0605e and 8346c416d17bf5b4ea1508662959bb62e73fd6a5. The following two locking commits in the DAX code: commit 843172978bb9 ("dax: fix race between simultaneous faults") commit 46c043ede471 ("mm: take i_mmap_lock in unmap_mapping_range() for

[PATCH v4 1/2] Revert "mm: take i_mmap_lock in unmap_mapping_range() for DAX"

2015-10-06 Thread Ross Zwisler
This reverts commits 46c043ede4711e8d598b9d63c5616c1fedb0605e and 8346c416d17bf5b4ea1508662959bb62e73fd6a5. The following two locking commits in the DAX code: commit 843172978bb9 ("dax: fix race between simultaneous faults") commit 46c043ede471 ("mm: take i_mmap_lock in unmap_mapping_range() for