linux: Mark HugeTLB memmap optimisation as optional

It is not supported on ARM.
This commit is contained in:
Mikael 2024-08-22 22:40:19 +02:00
parent 2ee7fa4bde
commit a7fdd2f9a8
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -297,8 +297,8 @@
TRANSPARENT_HUGEPAGE_ALWAYS = true;
READ_ONLY_THP_FOR_FS = true;
HUGETLBFS = true;
HUGETLB_PAGE_OPTIMIZE_VMEMMAP = true;
HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON = true;
HUGETLB_PAGE_OPTIMIZE_VMEMMAP = option true;
HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON = option true;
DEFERRED_STRUCT_PAGE_INIT = true;