Re: [PATCH 2/2] mm: tlb: add tlb swap entries batch async release

From: kernel test robot
Date: Wed Jul 31 2024 - 07:49:49 EST


Hi Zhiguo,

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/Zhiguo-Jiang/mm-move-task_is_dying-to-h-headfile/20240730-215136
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20240730114426.511-3-justinjiang%40vivo.com
patch subject: [PATCH 2/2] mm: tlb: add tlb swap entries batch async release
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20240731/202407311947.VPJNRqad-lkp@xxxxxxxxx/config)
compiler: s390-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240731/202407311947.VPJNRqad-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/202407311947.VPJNRqad-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

In file included from arch/s390/include/asm/tlb.h:39,
from mm/oom_kill.c:49:
>> include/asm-generic/tlb.h:327:6: warning: no previous prototype for '__tlb_remove_swap_entries' [-Wmissing-prototypes]
327 | bool __tlb_remove_swap_entries(struct mmu_gather *tlb,
| ^~~~~~~~~~~~~~~~~~~~~~~~~


vim +/__tlb_remove_swap_entries +327 include/asm-generic/tlb.h

323
324 extern bool __tlb_remove_swap_entries(struct mmu_gather *tlb,
325 swp_entry_t entry, int nr);
326 #else
> 327 bool __tlb_remove_swap_entries(struct mmu_gather *tlb,
328 swp_entry_t entry, int nr)
329 {
330 return false;
331 }
332 #endif
333

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki