From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-x22e.google.com (mail-oi0-x22e.google.com [IPv6:2607:f8b0:4003:c06::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3yz9rK5W8XzDqRQ for ; Sat, 16 Dec 2017 13:15:45 +1100 (AEDT) Received: by mail-oi0-x22e.google.com with SMTP id r193so5709709oie.3 for ; Fri, 15 Dec 2017 18:15:45 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20171215140947.26075-9-hch@lst.de> References: <20171215140947.26075-1-hch@lst.de> <20171215140947.26075-9-hch@lst.de> From: Dan Williams Date: Fri, 15 Dec 2017 18:15:43 -0800 Message-ID: Subject: Re: [PATCH 08/17] mm: pass the vmem_altmap to memmap_init_zone To: Christoph Hellwig Cc: =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Logan Gunthorpe , "linux-nvdimm@lists.01.org" , linuxppc-dev , X86 ML , Linux MM , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Dec 15, 2017 at 6:09 AM, Christoph Hellwig wrote: > Pass the vmem_altmap two levels down instead of needing a lookup. > > Signed-off-by: Christoph Hellwig Given the fact that HMM and now P2P are attracted to devm_memremap_pages() I think this churn is worth it. vmem_altmap is worth being considered a first class citizen of memory hotplug and not a hidden hack. Reviewed-by: Dan Williams