Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4437784imb; Wed, 6 Mar 2019 13:25:53 -0800 (PST) X-Google-Smtp-Source: APXvYqzYrUjQtS1TUG4a4LI1mR0rNc60TBkekyAE9Z7wfkqpeswYiqLZTiHJCqTn+NaK+FWp22Qu X-Received: by 2002:a62:f201:: with SMTP id m1mr9300831pfh.97.1551907553739; Wed, 06 Mar 2019 13:25:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551907553; cv=none; d=google.com; s=arc-20160816; b=JRulKdSI6Q6ULGEOkd5HVw0h07XlJOdCdyBuKl46kW5lSGAONI475TCWh5QzIr+PRs kwZRzufx85/TLDic1QHOEOdgbQX2yX0IcL/J2fwCuXhdCH9TmlHDP6enXnlWAYrsFTYs +81vgoHQboDUXjYVHucDeKdoe0uALzGYeqWmYHgca19a/DpiM7HwHF0gWTM2SjJ2wZBw dcmBKGqeh7QEXfDCeumls2sGTcq1Dqdux1FtWrNFAIncIX0B9I2+pUJD8u2TkkHNruwj auF75OjH+tujvrbu3Ocjo7lku72yT8O6tjIb34WrjIUFKAEqMbB95JbJobH5y6aNF1q9 ponQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:references:subject:cc:to :from; bh=9sVrivt/oEclglxPpWxhXn4Mr/ZI7Nvd1QtSTCC5hwM=; b=c8qKYVvzgx3DyQSkIwRAjA986bhTiyUTwfll5odAl5LFpMAwnCWltny+bl9I5VxUBe UnneK6akFt1v9zfnvHnd83oLXrj9b1emBp7ZMZ+sFyYPyPMKsfw2w9FpoRk7R1hFlZMG cX7AvDoVtWMmIzw+Gm7D6EsyeNRb4IriGafWBCzaqSR8a66RYaGgkHa03PJvDq2dCmH7 kx11ea9mA0xi1rrUqdjW2KupwWpVSlKOHzSGS/oLX6RF9PCu+rs506zqknaJ/lRmXcLT EujR5g3QAcA7IpdRrj2IbzFm4Sq4MpyX5rR97vygQOAnH7speGo0XO0HgJP+F3w+P1xK juKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r74si2405804pfa.249.2019.03.06.13.25.35; Wed, 06 Mar 2019 13:25:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730683AbfCFTLG (ORCPT + 99 others); Wed, 6 Mar 2019 14:11:06 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:47545 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726630AbfCFTLG (ORCPT ); Wed, 6 Mar 2019 14:11:06 -0500 Received: from [192.168.0.11] (127.19.86.79.rev.sfr.net [79.86.19.127]) (Authenticated sender: alex@ghiti.fr) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 7693C100006; Wed, 6 Mar 2019 19:10:55 +0000 (UTC) From: Alex Ghiti To: David Miller Cc: vbabka@suse.cz, catalin.marinas@arm.com, will.deacon@arm.com, benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, ysato@users.sourceforge.jp, dalias@libc.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, x86@kernel.org, dave.hansen@linux.intel.com, luto@kernel.org, peterz@infradead.org, mike.kravetz@oracle.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v5 2/4] sparc: Advertise gigantic page support References: <20190306190005.7036-1-alex@ghiti.fr> <20190306190005.7036-3-alex@ghiti.fr> <20190306.110436.1714716608828903522.davem@davemloft.net> Message-ID: Date: Wed, 6 Mar 2019 14:10:54 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 In-Reply-To: <20190306.110436.1714716608828903522.davem@davemloft.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/6/19 2:04 PM, David Miller wrote: > From: Alexandre Ghiti > Date: Wed, 6 Mar 2019 14:00:03 -0500 > >> sparc actually supports gigantic pages and selecting >> ARCH_HAS_GIGANTIC_PAGE allows it to allocate and free >> gigantic pages at runtime. >> >> sparc allows configuration such as huge pages of 16GB, >> pages of 8KB and MAX_ORDER = 13 (default): >> HPAGE_SHIFT (34) - PAGE_SHIFT (13) = 21 >= MAX_ORDER (13) >> >> Signed-off-by: Alexandre Ghiti > Much better. > > Acked-by: David S. Miller Thanks ! Alex