From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754603AbcHSLVM (ORCPT ); Fri, 19 Aug 2016 07:21:12 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35728 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753890AbcHSLVK (ORCPT ); Fri, 19 Aug 2016 07:21:10 -0400 Date: Fri, 19 Aug 2016 13:21:08 +0200 From: Michal Hocko To: Yisheng Xie Cc: akpm@linux-foundation.org, guohanjun@huawei.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] arm64/hugetlb enable gigantic hugepage Message-ID: <20160819112107.GG32619@dhcp22.suse.cz> References: <1471521929-9207-1-git-send-email-xieyisheng1@huawei.com> <20160819102551.GA32632@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 19-08-16 19:08:51, Yisheng Xie wrote: > > > On 2016/8/19 18:25, Michal Hocko wrote: > > On Thu 18-08-16 20:05:29, Xie Yisheng wrote: > >> As we know, arm64 also support gigantic hugepage eg. 1G. > > > > Well, I do not know that. How can I check? > > > Hi Michal, > Thank you for your reply. > Maybe you can check the setup_hugepagesz() OK, I see. The support was added by 084bd29810a5 ("ARM64: mm: HugeTLB support.") in 3.11 but this got later broken. I suspect 944d9fec8d7a ("hugetlb: add support for gigantic page allocation at runtime") in 3.16 but this would require double checking. Information like this would be really helpful in the changelog... -- Michal Hocko SUSE Labs