Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3vkjvb4jSpzDqYY for ; Fri, 17 Mar 2017 09:34:35 +1100 (AEDT) Date: Fri, 17 Mar 2017 09:29:42 +1100 From: Paul Mackerras To: "Aneesh Kumar K.V" Cc: benh@kernel.crashing.org, mpe@ellerman.id.au, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH V2 10/11] powerpc/mm/radix: Make max pfn bits a variable Message-ID: <20170316222942.GJ10100@fergus.ozlabs.ibm.com> References: <1489660329-22501-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1489660329-22501-11-git-send-email-aneesh.kumar@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1489660329-22501-11-git-send-email-aneesh.kumar@linux.vnet.ibm.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Mar 16, 2017 at 04:02:08PM +0530, Aneesh Kumar K.V wrote: > This makes max pysical address bits a variable so that hash and radix > translation mode can choose what value to use. In this patch we also switch the > radix translation mode to use 57 bits. This make it resilient to future changes > to max pfn supported by platforms. > > This patch is split from the previous one to make the review easier. > > Signed-off-by: Aneesh Kumar K.V Why do we need to do this now? It seems like this will add overhead every time we set a PTE for no current benefit. Paul.