Re: [v2 6/6] mm: hugetlb: Skip initialization of struct pages freed later by HVO

From: kernel test robot
Date: Sun Jul 30 2023 - 15:33:54 EST


Hi Usama,

kernel test robot noticed the following build errors:

[auto build test ERROR on akpm-mm/mm-everything]

url: https://github.com/intel-lab-lkp/linux/commits/Usama-Arif/mm-hugetlb-Skip-prep-of-tail-pages-when-HVO-is-enabled/20230730-231750
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20230730151606.2871391-7-usama.arif%40bytedance.com
patch subject: [v2 6/6] mm: hugetlb: Skip initialization of struct pages freed later by HVO
config: riscv-randconfig-r014-20230730 (https://download.01.org/0day-ci/archive/20230731/202307310358.frHhrM7f-lkp@xxxxxxxxx/config)
compiler: riscv64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230731/202307310358.frHhrM7f-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307310358.frHhrM7f-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

riscv64-linux-ld: mm/hugetlb.o: in function `.LVL1074':
>> hugetlb.c:(.init.text+0xf4): undefined reference to `vmemmap_optimize_enabled'
riscv64-linux-ld: mm/hugetlb.o: in function `.LVL1075':
hugetlb.c:(.init.text+0xf8): undefined reference to `vmemmap_optimize_enabled'
riscv64-linux-ld: mm/hugetlb.o: in function `.L0 ':
hugetlb.c:(.init.text+0x16e): undefined reference to `vmemmap_optimize_enabled'
>> riscv64-linux-ld: hugetlb.c:(.init.text+0x172): undefined reference to `vmemmap_optimize_enabled'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki