Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4428430imb; Wed, 6 Mar 2019 13:11:35 -0800 (PST) X-Google-Smtp-Source: APXvYqw6GN5n+dZyf9kclzgmQ0f2vlDB0SayJ66MC6aNMB3qA6+rGnFEOWpmocIQm89hCQg/3fGF X-Received: by 2002:a65:620f:: with SMTP id d15mr8094922pgv.112.1551906695461; Wed, 06 Mar 2019 13:11:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551906695; cv=none; d=google.com; s=arc-20160816; b=R3KmT/trL9HuRrt1D8e/RSjTIeSSmlreYKGvs5w3llz86xAJl5V1UxWgCoAEFLTmMZ iATe5/IrUro8UIS89/I9Uaad0kMjTuVdv232sjxMA92SI2BKgvS8Ep6AabXpeRT74hpp SzOS+A+43Uz+dkECpcAmNQ31QVMkD02SnGQ6nGREC8JwQCJGEgDDHhMSyUp+Vkxserw1 oeCGyp9ZB/hPHAgBjjGMFPcj8LZSDJj5t5cPnKsM6+xvAP83VT80jeyxfXfyqE4Lrd0O OwuN4MuKbHfUgyjC44npozkNm0V/mRcsRm2HydmnhIu27DHBaz3PdQDK3xDBJWu++kxf GEkw== 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:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=goJRMkWz5s/p2RktxLYC0dw0+BSpl3HswqL1UjL8SWc=; b=iDoy8YMi+kNwyFG/zx6zFtFfQL6FyXNjUyZ/I9kKIgFvdCfowlgFkduWnNsQAM1Ktl 3vyGflgMKLGjQr9bk4NoBcuHm3br/3pYBQ4CdHKz37pROpDDyS2kP34qy0XkQaJ2R78/ tVxnKvBwCkhdnY/B2kO/pJCTr6U6oBOG6Rdacj2XMllj8d7NmEndORcKo0BoeUiI2xkZ JHCtHFHtXYz0AyWhaQpl58VAqDnAzjw/kIIdUqIz55d0GgsYVGmsy5WHw1NCiiMwf53I LnIaNpHHbKK8SsDlNprgH0E8bk674tgMcgistBVSYz/wkQNErauBS51h4mmwfArBvLhQ U0+g== 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 r17si2238169pgo.198.2019.03.06.13.11.19; Wed, 06 Mar 2019 13:11:35 -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 S1730561AbfCFTEj (ORCPT + 99 others); Wed, 6 Mar 2019 14:04:39 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:39450 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726596AbfCFTEi (ORCPT ); Wed, 6 Mar 2019 14:04:38 -0500 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id A91A1145183B2; Wed, 6 Mar 2019 11:04:36 -0800 (PST) Date: Wed, 06 Mar 2019 11:04:36 -0800 (PST) Message-Id: <20190306.110436.1714716608828903522.davem@davemloft.net> To: alex@ghiti.fr 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 From: David Miller In-Reply-To: <20190306190005.7036-3-alex@ghiti.fr> References: <20190306190005.7036-1-alex@ghiti.fr> <20190306190005.7036-3-alex@ghiti.fr> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 06 Mar 2019 11:04:37 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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