On Mon, 12 Mar 2018, Christoph Hellwig wrote:
On Thu, Mar 08, 2018 at 09:08:32AM -0800, Dan Williams wrote:
> I had the same feedback, and Mikulas sent this useful enhancement to
> the memcpy_flushcache API:
> ...it's in my queue to either push through -tip or add it to the next
> libnvdimm pull request for 4.17-rc1.
So lets rebase this submission on top of that.
I already did and the patch that you criticized is based on the top of
I've found out that memcpy_flushcache performs better on x86 and dax_flush
performs betetr on ARM64, so the code has two flushing strategies that are
switched with preprocessor condition.