]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86: Disable HAVE_ARCH_HUGE_VMALLOC on 32-bit x86
authorSong Liu <song@kernel.org>
Wed, 2 Mar 2022 17:51:25 +0000 (09:51 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 2 Mar 2022 21:24:37 +0000 (13:24 -0800)
commiteed1fcee556fd8569afe94178b0c2784a5a6b717
treeef1642e86d113745c5c1418e4d800926afdf1887
parent530e214c5b5acbfaf819d884b196f3c61f5eca3d
x86: Disable HAVE_ARCH_HUGE_VMALLOC on 32-bit x86

kernel test robot reported kernel BUG like:

[ 44.587744][ T1] kernel BUG at arch/x86/mm/physaddr.c:76!
[ 44.590151][ T1] __vmalloc_area_node (mm/vmalloc.c:622 mm/vmalloc.c:2995)
[ 44.590151][ T1] __vmalloc_node_range (mm/vmalloc.c:3108)
[ 44.590151][ T1] __vmalloc_node (mm/vmalloc.c:3157)

which is triggered with HAVE_ARCH_HUGE_VMALLOC on 32-bit x86. Since BPF
only uses HAVE_ARCH_HUGE_VMALLOC for x86_64, turn it off for 32-bit x86.

Fixes: fac54e2bfb5b ("x86/Kconfig: Select HAVE_ARCH_HUGE_VMALLOC with HAVE_ARCH_HUGE_VMAP")
Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20220302175126.247459-2-song@kernel.org
arch/x86/Kconfig