[dm-devel] [PATCH] dm-writecache
Mikulas Patocka
mpatocka at redhat.com
Mon Mar 12 12:15:06 UTC 2018
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:
> >
> > https://patchwork.kernel.org/patch/10217655/
> >
> > ...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
that.
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.
Mikulas
More information about the dm-devel
mailing list