[dm-devel] [PATCH] vmalloc: introduce vmap_pfn for persistent memory

Dan Williams dan.j.williams at intel.com
Wed Nov 8 15:41:23 UTC 2017


On Wed, Nov 8, 2017 at 7:35 AM, Christoph Hellwig <hch at infradead.org> wrote:
> On Wed, Nov 08, 2017 at 10:21:38AM -0500, Mikulas Patocka wrote:
>> > And what do you do for an architecture with virtuall indexed caches?
>>
>> Persistent memory is not supported on such architectures - it is only
>> supported on x86-64 and arm64.
>
> For now.  But once support is added your driver will just corrupt data
> unless you have the right API in place.

I'm also in the process of ripping out page-less dax support. With
pages we can potentially leverage the VIVT-cache support in some
architectures, likely with more supporting infrastructure for
dax_flush().




More information about the dm-devel mailing list