On 2/27/26 20:42, Kiryl Shutsemau (Meta) wrote:
> The 32-bit VDSO build on x86_64 uses fake_32bit_build.h to undefine
> various kernel configuration options that are not suitable for the
> VDSO context or may cause build issues when including kernel headers.
>
> Undefine CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP in fake_32bit_build.h to
> prepare for change in HugeTLB Vmemmap Optimization.
>
> Signed-off-by: Kiryl Shutsemau (Meta) <kas@kernel.org>
> ---
> arch/x86/entry/vdso/vdso32/fake_32bit_build.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/x86/entry/vdso/vdso32/fake_32bit_build.h b/arch/x86/entry/vdso/vdso32/fake_32bit_build.h
> index db1b15f686e3..bc3e549795c3 100644
> --- a/arch/x86/entry/vdso/vdso32/fake_32bit_build.h
> +++ b/arch/x86/entry/vdso/vdso32/fake_32bit_build.h
> @@ -11,6 +11,7 @@
> #undef CONFIG_PGTABLE_LEVELS
> #undef CONFIG_ILLEGAL_POINTER_VALUE
> #undef CONFIG_SPARSEMEM_VMEMMAP
> +#undef CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP
> #undef CONFIG_NR_CPUS
> #undef CONFIG_PARAVIRT_XXL
>
Pain as always :)
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
--
Cheers,
David