[ammarfaizi2-block:arm64/linux/devel/mte-pg-flags 3/5] mm/memory.c:92:2: warning: #warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid.
From: kernel test robot
Date: Sat Sep 03 2022 - 07:33:35 EST
tree: https://github.com/ammarfaizi2/linux-block arm64/linux/devel/mte-pg-flags
head: 7a937f62486a95ed542d051f05e3d6d67c9d0928
commit: 16cd379cfa9ae2607ceb5f2b66c27a5bedb3e2bf [3/5] mm: Add PG_arch_3 page flag
config: loongarch-defconfig (https://download.01.org/0day-ci/archive/20220903/202209031914.1xwP1jsq-lkp@xxxxxxxxx/config)
compiler: loongarch64-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/ammarfaizi2/linux-block/commit/16cd379cfa9ae2607ceb5f2b66c27a5bedb3e2bf
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block arm64/linux/devel/mte-pg-flags
git checkout 16cd379cfa9ae2607ceb5f2b66c27a5bedb3e2bf
# 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=loongarch SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>):
>> mm/memory.c:92:2: warning: #warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid. [-Wcpp]
92 | #warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid.
| ^~~~~~~
vim +92 mm/memory.c
42b7772812d15b Jan Beulich 2008-07-23 90
af27d9403f5b80 Arnd Bergmann 2018-02-16 91 #if defined(LAST_CPUPID_NOT_IN_PAGE_FLAGS) && !defined(CONFIG_COMPILE_TEST)
90572890d20252 Peter Zijlstra 2013-10-07 @92 #warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid.
75980e97daccfc Peter Zijlstra 2013-02-22 93 #endif
75980e97daccfc Peter Zijlstra 2013-02-22 94
:::::: The code at line 92 was first introduced by commit
:::::: 90572890d202527c366aa9489b32404e88a7c020 mm: numa: Change page last {nid,pid} into {cpu,pid}
:::::: TO: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxxxxx>
--
0-DAY CI Kernel Test Service
https://01.org/lkp