On 2/20/21 1:49 AM, Dan Williams wrote: > On Tue, Dec 8, 2020 at 9:31 AM Joao Martins <joao.m.martins@xxxxxxxxxx> wrote: >> >> Replace vmem_altmap with an vmem_context argument. That let us >> express how the vmemmap is gonna be initialized e.g. passing >> flags and a page size for reusing pages upon initializing the >> vmemmap. >> > > Per the comment on the last patch, if compound dev_pagemap never > collides with vmem_altmap then I don't think this patch is needed. > See my previous patch reply. It *might* be worth keeping that around. And since the RFC, nvdimm is going to need a slight adjustment for the altmap reserve pfn range, should we keep altmap around.