Re: [PATCH -next] mm: make sure freeram is smaller than totalram
From: kernel test robot
Date: Wed Apr 15 2026 - 07:25:59 EST
Hi Yang,
kernel test robot noticed the following build warnings:
[auto build test WARNING on akpm-mm/mm-everything]
url: https://github.com/intel-lab-lkp/linux/commits/Yang-Yingliang/mm-make-sure-freeram-is-smaller-than-totalram/20260415-122059
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20260413115736.1237680-1-yangyingliang%40huawei.com
patch subject: [PATCH -next] mm: make sure freeram is smaller than totalram
config: arm64-randconfig-001-20260415 (https://download.01.org/0day-ci/archive/20260415/202604151917.t6ckjppJ-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260415/202604151917.t6ckjppJ-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/202604151917.t6ckjppJ-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> mm/vmstat.c:884:13: warning: 'refresh_vm_stats' defined but not used [-Wunused-function]
884 | static void refresh_vm_stats(struct work_struct *work)
| ^~~~~~~~~~~~~~~~
vim +/refresh_vm_stats +884 mm/vmstat.c
883
> 884 static void refresh_vm_stats(struct work_struct *work)
885 {
886 refresh_cpu_vm_stats(true);
887 }
888
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki