Hi Mina, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/Mina-Almasry/mm-Fix-memcg-reclaim-on-memory-tiered-systems/20221206-103512 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20221206023406.3182800-1-almasrymina%40google.com patch subject: [PATCH v3] [mm-unstable] mm: Fix memcg reclaim on memory tiered systems config: arm-randconfig-r036-20221206 compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 6e4cea55f0d1104408b26ac574566a0e4de48036) 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 # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://github.com/intel-lab-lkp/linux/commit/d326a3b857c743d1e64b73a752505a65732b4e51 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Mina-Almasry/mm-Fix-memcg-reclaim-on-memory-tiered-systems/20221206-103512 git checkout d326a3b857c743d1e64b73a752505a65732b4e51 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> mm/vmscan.c:1599:6: warning: no previous prototype for function 'free_demote_page' [-Wmissing-prototypes] void free_demote_page(struct page *page, unsigned long private) ^ mm/vmscan.c:1599:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void free_demote_page(struct page *page, unsigned long private) ^ static 1 warning generated. vim +/free_demote_page +1599 mm/vmscan.c 1598 > 1599 void free_demote_page(struct page *page, unsigned long private) 1600 { 1601 struct demotion_control *dc = (struct demotion_control *)private; 1602 1603 if (dc->demote_from_nodemask && 1604 !node_isset(page_to_nid(page), *dc->demote_from_nodemask)) 1605 dc->nr_demoted_outside_nodemask--; 1606 1607 folio_put(page_folio(page)); 1608 } 1609 -- 0-DAY CI Kernel Test Service https://01.org/lkp