[PATCH v3] arm64: mm: hugetlb: Enable HUGETLB_PAGE_FREE_VMEMMAP for arm64

Muchun Song songmuchun at bytedance.com
Wed Mar 30 19:46:25 PDT 2022


On Thu, Mar 31, 2022 at 10:41 AM Andrew Morton
<akpm at linux-foundation.org> wrote:
>
> On Wed, 30 Mar 2022 22:54:00 +0800 Muchun Song <songmuchun at bytedance.com> wrote:
>
> > --- a/fs/Kconfig
> > +++ b/fs/Kconfig
> > @@ -247,7 +247,7 @@ config HUGETLB_PAGE
> >
> >  config HUGETLB_PAGE_FREE_VMEMMAP
> >       def_bool HUGETLB_PAGE
> > -     depends on X86_64
> > +     depends on X86_64 || ARM64
>
> This list is just going to get longer, until someone goes and switches
> it to use ARCH_WANT_HUGETLB_PAGE_FREE_VMEMMAP or whatever.  Why not do
> that now?

Good suggestion. Yep, the line is going to be long if someone
wants to enable it for other architectures in the future.  Will do.
Thanks.



More information about the linux-arm-kernel mailing list