[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202504250357.9ZZudhto-lkp@intel.com>
Date: Fri, 25 Apr 2025 03:41:15 +0800
From: kernel test robot <lkp@...el.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Vlastimil Babka <vbabka@...e.cz>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
Christoph Lameter <cl@...ux-foundation.org>,
David Rientjes <rientjes@...gle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Memory Management List <linux-mm@...ck.org>,
Roman Gushchin <roman.gushchin@...ux.dev>,
Harry Yoo <harry.yoo@...cle.com>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <nick.desaulniers+lkml@...il.com>,
Bill Wendling <morbo@...gle.com>,
Justin Stitt <justinstitt@...gle.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: Re: [PATCH v1 1/1] mm, slab: fold need_slab_obj_ext() into its only
user
Hi Andy,
kernel test robot noticed the following build errors:
[auto build test ERROR on akpm-mm/mm-everything]
url: https://github.com/intel-lab-lkp/linux/commits/Andy-Shevchenko/mm-slab-fold-need_slab_obj_ext-into-its-only-user/20250425-004842
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20250424164800.2658961-1-andriy.shevchenko%40linux.intel.com
patch subject: [PATCH v1 1/1] mm, slab: fold need_slab_obj_ext() into its only user
config: arm-randconfig-003-20250425 (https://download.01.org/0day-ci/archive/20250425/202504250357.9ZZudhto-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250425/202504250357.9ZZudhto-lkp@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504250357.9ZZudhto-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/slub.c:2591:29: error: call to undeclared function 'need_slab_obj_ext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
2591 | if (memcg_kmem_online() || need_slab_obj_ext())
| ^
mm/slub.c:2591:29: note: did you mean 'free_slab_obj_exts'?
mm/slub.c:2064:20: note: 'free_slab_obj_exts' declared here
2064 | static inline void free_slab_obj_exts(struct slab *slab)
| ^
1 error generated.
vim +/need_slab_obj_ext +2591 mm/slub.c
0bedcc66d2a43a Vlastimil Babka 2023-10-03 2587
0bedcc66d2a43a Vlastimil Babka 2023-10-03 2588 static __always_inline void unaccount_slab(struct slab *slab, int order,
0bedcc66d2a43a Vlastimil Babka 2023-10-03 2589 struct kmem_cache *s)
0bedcc66d2a43a Vlastimil Babka 2023-10-03 2590 {
4b8736964640fe Suren Baghdasaryan 2024-03-21 @2591 if (memcg_kmem_online() || need_slab_obj_ext())
21c690a349baab Suren Baghdasaryan 2024-03-21 2592 free_slab_obj_exts(slab);
0bedcc66d2a43a Vlastimil Babka 2023-10-03 2593
0bedcc66d2a43a Vlastimil Babka 2023-10-03 2594 mod_node_page_state(slab_pgdat(slab), cache_vmstat_idx(s),
0bedcc66d2a43a Vlastimil Babka 2023-10-03 2595 -(PAGE_SIZE << order));
0bedcc66d2a43a Vlastimil Babka 2023-10-03 2596 }
0bedcc66d2a43a Vlastimil Babka 2023-10-03 2597
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists