Re: [PATCH v5 1/7] pmem: add wb_cache_pmem() to the PMEM API

2015-12-22 Thread Ross Zwisler
On Tue, Dec 22, 2015 at 02:44:40PM -0800, Andrew Morton wrote: > On Fri, 18 Dec 2015 22:22:14 -0700 Ross Zwisler > wrote: > > > The function __arch_wb_cache_pmem() was already an internal implementation > > detail of the x86 PMEM API, but this functionality needs to be exported as > > part of th

Re: [PATCH v5 1/7] pmem: add wb_cache_pmem() to the PMEM API

2015-12-22 Thread Andrew Morton
On Fri, 18 Dec 2015 22:22:14 -0700 Ross Zwisler wrote: > The function __arch_wb_cache_pmem() was already an internal implementation > detail of the x86 PMEM API, but this functionality needs to be exported as > part of the general PMEM API to handle the fsync/msync case for DAX mmaps. > > One t

[PATCH v5 1/7] pmem: add wb_cache_pmem() to the PMEM API

2015-12-18 Thread Ross Zwisler
The function __arch_wb_cache_pmem() was already an internal implementation detail of the x86 PMEM API, but this functionality needs to be exported as part of the general PMEM API to handle the fsync/msync case for DAX mmaps. One thing worth noting is that we really do want this to be part of the P