Hi James, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20230105] [cannot apply to kvm/queue shuah-kselftest/next shuah-kselftest/fixes arnd-asm-generic/master linus/master kvm/linux-next v6.2-rc2 v6.2-rc1 v6.1 v6.2-rc2] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/James-Houghton/hugetlb-don-t-set-PageUptodate-for-UFFDIO_CONTINUE/20230105-182428 patch link: https://lore.kernel.org/r/20230105101844.1893104-10-jthoughton%40google.com patch subject: [PATCH 09/46] mm: add MADV_SPLIT to enable HugeTLB HGM config: m68k-allmodconfig compiler: m68k-linux-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/33a65f9a66e72ccc2c7151dc3ff9cb1d692074d8 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review James-Houghton/hugetlb-don-t-set-PageUptodate-for-UFFDIO_CONTINUE/20230105-182428 git checkout 33a65f9a66e72ccc2c7151dc3ff9cb1d692074d8 # 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=m68k olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): mm/madvise.c: In function 'madvise_split': >> mm/madvise.c:1023:9: error: implicit declaration of function 'hugetlb_vma_lock_alloc'; did you mean 'hugetlb_vma_lock_write'? [-Werror=implicit-function-declaration] 1023 | hugetlb_vma_lock_alloc(vma); | ^~~~~~~~~~~~~~~~~~~~~~ | hugetlb_vma_lock_write cc1: some warnings being treated as errors vim +1023 mm/madvise.c 1013 1014 static int madvise_split(struct vm_area_struct *vma, 1015 unsigned long *new_flags) 1016 { 1017 if (!is_vm_hugetlb_page(vma) || !hugetlb_hgm_eligible(vma)) 1018 return -EINVAL; 1019 /* 1020 * Attempt to allocate the VMA lock again. If it isn't allocated, 1021 * MADV_COLLAPSE won't work. 1022 */ > 1023 hugetlb_vma_lock_alloc(vma); 1024 1025 /* PMD sharing doesn't work with HGM. */ 1026 hugetlb_unshare_all_pmds(vma); 1027 1028 *new_flags |= VM_HUGETLB_HGM; 1029 return 0; 1030 } 1031 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests