Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on shuah-kselftest/next] [also build test WARNING on linus/master v6.0-rc7] [cannot apply to akpm-mm/mm-everything next-20220928] [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/alexlzhu-fb-com/mm-add-thp_utilization-metrics-to-sysfs/20220928-152511 base: https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next config: i386-randconfig-s001 compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/intel-lab-lkp/linux/commit/4e04c6e127b5cc86d537b079af3bb3bf1c762ae4 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review alexlzhu-fb-com/mm-add-thp_utilization-metrics-to-sysfs/20220928-152511 git checkout 4e04c6e127b5cc86d537b079af3bb3bf1c762ae4 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> mm/huge_memory.c:83:17: sparse: sparse: symbol 'huge_low_util_page_lru' was not declared. Should it be static? mm/huge_memory.c:1730:20: sparse: sparse: context imbalance in 'madvise_free_huge_pmd' - unexpected unlock mm/huge_memory.c:1767:28: sparse: sparse: context imbalance in 'zap_huge_pmd' - unexpected unlock mm/huge_memory.c:1874:28: sparse: sparse: context imbalance in 'move_huge_pmd' - unexpected unlock mm/huge_memory.c:2006:20: sparse: sparse: context imbalance in 'change_huge_pmd' - unexpected unlock mm/huge_memory.c:2016:12: sparse: sparse: context imbalance in '__pmd_trans_huge_lock' - wrong count at exit mm/huge_memory.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/mm.h): include/linux/page-flags.h:820:22: sparse: sparse: context imbalance in '__split_huge_page' - unexpected unlock mm/huge_memory.c:2887:17: sparse: sparse: context imbalance in 'split_huge_page_to_list' - different lock contexts for basic block -- 0-DAY CI Kernel Test Service https://01.org/lkp