Re: [PATCH v2 2/3] /dev/dax, core: file operations and dax-mmap

2016-05-18 Thread Paul E. McKenney
On Wed, May 18, 2016 at 10:26:57AM -0700, Dan Williams wrote: > On Wed, May 18, 2016 at 10:12 AM, Paul E. McKenney > wrote: > > On Wed, May 18, 2016 at 11:15:11AM +0200, Hannes Reinecke wrote: > >> On 05/18/2016 11:10 AM, Paul Mackerras wrote: > >> > On Wed, May 18, 2016 at 10:07:19AM +0200, Hanne

Re: [PATCH v2 2/3] /dev/dax, core: file operations and dax-mmap

2016-05-18 Thread Dan Williams
On Wed, May 18, 2016 at 10:12 AM, Paul E. McKenney wrote: > On Wed, May 18, 2016 at 11:15:11AM +0200, Hannes Reinecke wrote: >> On 05/18/2016 11:10 AM, Paul Mackerras wrote: >> > On Wed, May 18, 2016 at 10:07:19AM +0200, Hannes Reinecke wrote: >> >> On 05/18/2016 12:19 AM, Dan Williams wrote: >> >

Re: [PATCH v2 2/3] /dev/dax, core: file operations and dax-mmap

2016-05-18 Thread Paul E. McKenney
On Wed, May 18, 2016 at 11:15:11AM +0200, Hannes Reinecke wrote: > On 05/18/2016 11:10 AM, Paul Mackerras wrote: > > On Wed, May 18, 2016 at 10:07:19AM +0200, Hannes Reinecke wrote: > >> On 05/18/2016 12:19 AM, Dan Williams wrote: > >>> On Tue, May 17, 2016 at 3:57 AM, Johannes Thumshirn > >>> wr

Re: [PATCH v2 2/3] /dev/dax, core: file operations and dax-mmap

2016-05-18 Thread Hannes Reinecke
On 05/18/2016 11:10 AM, Paul Mackerras wrote: > On Wed, May 18, 2016 at 10:07:19AM +0200, Hannes Reinecke wrote: >> On 05/18/2016 12:19 AM, Dan Williams wrote: >>> On Tue, May 17, 2016 at 3:57 AM, Johannes Thumshirn >>> wrote: On Sat, May 14, 2016 at 11:26:29PM -0700, Dan Williams wrote: >>>

Re: [PATCH v2 2/3] /dev/dax, core: file operations and dax-mmap

2016-05-18 Thread Paul Mackerras
On Wed, May 18, 2016 at 10:07:19AM +0200, Hannes Reinecke wrote: > On 05/18/2016 12:19 AM, Dan Williams wrote: > > On Tue, May 17, 2016 at 3:57 AM, Johannes Thumshirn > > wrote: > >> On Sat, May 14, 2016 at 11:26:29PM -0700, Dan Williams wrote: > >>> The "Device DAX" core enables dax mappings of

Re: [PATCH v2 2/3] /dev/dax, core: file operations and dax-mmap

2016-05-18 Thread Hannes Reinecke
On 05/18/2016 12:19 AM, Dan Williams wrote: > On Tue, May 17, 2016 at 3:57 AM, Johannes Thumshirn > wrote: >> On Sat, May 14, 2016 at 11:26:29PM -0700, Dan Williams wrote: >>> The "Device DAX" core enables dax mappings of performance / feature >>> differentiated memory. An open mapping or file h

Re: [PATCH v2 2/3] /dev/dax, core: file operations and dax-mmap

2016-05-17 Thread Dan Williams
On Tue, May 17, 2016 at 3:57 AM, Johannes Thumshirn wrote: > On Sat, May 14, 2016 at 11:26:29PM -0700, Dan Williams wrote: >> The "Device DAX" core enables dax mappings of performance / feature >> differentiated memory. An open mapping or file handle keeps the backing >> struct device live, but n

Re: [PATCH v2 2/3] /dev/dax, core: file operations and dax-mmap

2016-05-17 Thread Johannes Thumshirn
On Sat, May 14, 2016 at 11:26:29PM -0700, Dan Williams wrote: > The "Device DAX" core enables dax mappings of performance / feature > differentiated memory. An open mapping or file handle keeps the backing > struct device live, but new mappings are only possible while the device > is enabled. Fa

[PATCH v2 2/3] /dev/dax, core: file operations and dax-mmap

2016-05-14 Thread Dan Williams
The "Device DAX" core enables dax mappings of performance / feature differentiated memory. An open mapping or file handle keeps the backing struct device live, but new mappings are only possible while the device is enabled. Faults are handled under rcu_read_lock to synchronize with the enabled s