Hi liubo,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: bf973836a0d3e07d47c4005e1c6d32a27f35b2b2 commit: 79c68ab3280fab8ace1b10bf8eadce508ee89c3c [2417/2417] etmem: add original kernel swap enabled options config: x86_64-buildonly-randconfig-004-20241112 (https://download.01.org/0day-ci/archive/20241112/202411120810.GiSJ2Nae-lkp@i...) compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241112/202411120810.GiSJ2Nae-lkp@i...)
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@intel.com | Closes: https://lore.kernel.org/oe-kbuild-all/202411120810.GiSJ2Nae-lkp@intel.com/
All errors (new ones prefixed by >>):
ld.lld: error: undefined symbol: kernel_swap_enabled
referenced by vmscan.c vmscan.o:(try_to_free_pages) in archive mm/built-in.a referenced by vmscan.c vmscan.o:(kswapd) in archive mm/built-in.a referenced by vmscan.c vmscan.o:(node_reclaim) in archive mm/built-in.a