[PATCH V2 4/4] LoongArch: Enable ARCH_WANT_HUGETLB_PAGE_OPTIMIZE_VMEMMAP

Arnd Bergmann arnd at arndb.de
Wed Jun 29 23:06:39 PDT 2022


On Thu, Jun 30, 2022 at 6:32 AM Huacai Chen <chenhuacai at loongson.cn> wrote:
>
> To avoid build error on LoongArch we should include linux/static_key.h
> in page-flags.h.

This is an expensive change in terms of compile speed, as static_key.h has
lots of dependencies, and page-flags.h is included in a lot of places. What
it is actually needed for?

         Arnd



More information about the linux-arm-kernel mailing list