Re: [PATCH 07/25] memremap: validate the pagemap type passed to devm_memremap_pages
From: Dan Williams
Date: Mon Jun 17 2019 - 16:41:56 EST
On Mon, Jun 17, 2019 at 12:59 PM Christoph Hellwig <hch@xxxxxx> wrote:
> On Mon, Jun 17, 2019 at 12:02:09PM -0700, Dan Williams wrote:
> > Need a lead in patch that introduces MEMORY_DEVICE_DEVDAX, otherwise:
> Or maybe a MEMORY_DEVICE_DEFAULT = 0 shared by fsdax and p2pdma?
I thought about that, but it seems is_pci_p2pdma_page() needs the
distinction between the 2 types.