Re: [PATCH 1/1] mm/slab: mark alloc tags empty for sheafs allocated with __GFP_NO_OBJ_EXT
From: Suren Baghdasaryan
Date: Tue Feb 24 2026 - 16:15:19 EST
On Tue, Feb 24, 2026 at 10:54 AM kernel test robot <lkp@xxxxxxxxx> wrote:
>
> Hi Suren,
>
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on 7dff99b354601dd01829e1511711846e04340a69]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Suren-Baghdasaryan/mm-slab-mark-alloc-tags-empty-for-sheafs-allocated-with-__GFP_NO_OBJ_EXT/20260225-005422
> base: 7dff99b354601dd01829e1511711846e04340a69
> patch link: https://lore.kernel.org/r/20260224165250.1322946-1-surenb%40google.com
> patch subject: [PATCH 1/1] mm/slab: mark alloc tags empty for sheafs allocated with __GFP_NO_OBJ_EXT
> config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20260225/202602250250.n38q74JK-lkp@xxxxxxxxx/config)
> compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260225/202602250250.n38q74JK-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/202602250250.n38q74JK-lkp@xxxxxxxxx/
>
> All errors (new ones prefixed by >>):
>
> >> mm/slub.c:2787:3: error: call to undeclared function 'mark_objexts_empty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 2787 | mark_objexts_empty(sheaf);
> | ^
> 1 error generated.
Thanks! In a hurry to post the fix I forgot to update the
mark_objexts_empty() definition for !CONFIG_MEM_ALLOC_PROFILING_DEBUG.
I'll post a fixed version shortly.
>
>
> vim +/mark_objexts_empty +2787 mm/slub.c
>
> 2783
> 2784 static void free_empty_sheaf(struct kmem_cache *s, struct slab_sheaf *sheaf)
> 2785 {
> 2786 if (s->flags & SLAB_KMALLOC)
> > 2787 mark_objexts_empty(sheaf);
> 2788
> 2789 kfree(sheaf);
> 2790
> 2791 stat(s, SHEAF_FREE);
> 2792 }
> 2793
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki