Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41BQvl5Pk3zF0wQ for ; Fri, 22 Jun 2018 01:43:15 +1000 (AEST) Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5LFYWCP081581 for ; Thu, 21 Jun 2018 11:43:13 -0400 Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.153]) by mx0a-001b2d01.pphosted.com with ESMTP id 2jrertrcjd-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 21 Jun 2018 11:43:12 -0400 Received: from localhost by e35.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 21 Jun 2018 09:43:12 -0600 Subject: Re: [PATCH 2/2] powerpc/mm: Increase MAX_PHYSMEM_BITS to 128TB with SPARSEMEM_VMEMMAP config To: Balbir Singh Cc: Nicholas Piggin , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , "open list:LINUX FOR POWERPC (32-BIT AND 64-BIT)" References: <20180621083158.30849-1-aneesh.kumar@linux.ibm.com> <20180621083158.30849-2-aneesh.kumar@linux.ibm.com> From: "Aneesh Kumar K.V" Date: Thu, 21 Jun 2018 21:13:03 +0530 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Message-Id: List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 06/21/2018 05:02 PM, Balbir Singh wrote: > On Thu, Jun 21, 2018 at 6:31 PM, Aneesh Kumar K.V > wrote: >> >> We do this only with VMEMMAP config so that our page_to_[nid/section] etc are not >> impacted. >> >> Signed-off-by: Aneesh Kumar K.V > > Why 128TB, given that it's sparse_vmemmap_extreme by default, why not > 1PB directly (50 bits)? > That will impact config with VMEMMAP_EXTREME disabled with no real immediate benefit. We could possibly make MAX_PHYSMEM_BITS a Kconfig variable. s390 do that. Not sure we want to do that. -aneesh