Re: [PATCH V4 4/4] LoongArch: Enable ARCH_WANT_HUGETLB_PAGE_OPTIMIZE_VMEMMAP
From: Muchun Song
Date: Tue Jul 05 2022 - 05:12:58 EST
On Tue, Jul 5, 2022 at 4:46 PM Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
> On Tue, Jul 5, 2022 at 10:38 AM Muchun Song <songmuchun@xxxxxxxxxxxxx> wrote:
> > On Tue, Jul 5, 2022 at 4:06 PM Arnd Bergmann <arnd@xxxxxxxx> wrote:
> > > On Tue, Jul 5, 2022 at 9:51 AM Muchun Song <songmuchun@xxxxxxxxxxxxx> wrote:
> >
> > How about including the static key header in the scope of
> > CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP?
>
> That helps a little, but it means we still pay for it on x86 and
> arm64, which are the
> most common architectures.
Alright. Make sense.
>
> Arnd