Re: [RFC PATCH] arm64/hugetlb enable gigantic hugepage

From: Michal Hocko
Date: Fri Aug 19 2016 - 07:21:15 EST


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