Re: [PATCH 2/2] mm: Remember young bit for page migrations
From: kernel test robot
Date:  Wed Aug 03 2022 - 09:55:26 EST
Hi Peter,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on akpm-mm/mm-everything]
url:    https://github.com/intel-lab-lkp/linux/commits/Peter-Xu/mm-Remember-young-bit-for-migration-entries/20220803-092311
base:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
config: arc-randconfig-r043-20220803 (https://download.01.org/0day-ci/archive/20220803/202208032100.RedT7779-lkp@xxxxxxxxx/config)
compiler: arc-elf-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/intel-lab-lkp/linux/commit/2fca6cb25745d1404fc34e0ec2ea89b6195a8c27
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Peter-Xu/mm-Remember-young-bit-for-migration-entries/20220803-092311
        git checkout 2fca6cb25745d1404fc34e0ec2ea89b6195a8c27
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
   arc-elf-ld: mm/rmap.o: in function `migration_entry_supports_young':
   include/linux/swapops.h:288: undefined reference to `max_swapfile_size'
>> arc-elf-ld: include/linux/swapops.h:288: undefined reference to `max_swapfile_size'
   arc-elf-ld: mm/migrate.o: in function `migration_entry_supports_young':
   include/linux/swapops.h:288: undefined reference to `max_swapfile_size'
>> arc-elf-ld: include/linux/swapops.h:288: undefined reference to `max_swapfile_size'
-- 
0-DAY CI Kernel Test Service
https://01.org/lkp