Re: [PATCH v4] sched/fair: Cache NUMA node statistics to avoid O(N) scanning

From: kernel test robot

Date: Thu Jan 29 2026 - 06:25:03 EST


Hi Qiliang,

kernel test robot noticed the following build warnings:

[auto build test WARNING on tip/sched/core]
[also build test WARNING on tip/master peterz-queue/sched/core linus/master v6.19-rc7 next-20260128]
[cannot apply to tip/auto-latest]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Qiliang-Yuan/sched-fair-Cache-NUMA-node-statistics-to-avoid-O-N-scanning/20260129-112302
base: tip/sched/core
patch link: https://lore.kernel.org/r/20260129031948.2384178-1-realwujing%40gmail.com
patch subject: [PATCH v4] sched/fair: Cache NUMA node statistics to avoid O(N) scanning
config: arc-allnoconfig (https://download.01.org/0day-ci/archive/20260129/202601291924.phVnpnOi-lkp@xxxxxxxxx/config)
compiler: arc-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260129/202601291924.phVnpnOi-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/202601291924.phVnpnOi-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

In file included from kernel/sched/build_utility.c:86:
kernel/sched/topology.c: In function 'init_rootdomain':
>> kernel/sched/topology.c:574:1: warning: label 'free_cpupri' defined but not used [-Wunused-label]
574 | free_cpupri:
| ^~~~~~~~~~~


vim +/free_cpupri +574 kernel/sched/topology.c

571
572 return 0;
573
> 574 free_cpupri:
575 cpupri_cleanup(&rd->cpupri);
576 free_cpudl:
577 cpudl_cleanup(&rd->cpudl);
578 free_rto_mask:
579 free_cpumask_var(rd->rto_mask);
580 free_dlo_mask:
581 free_cpumask_var(rd->dlo_mask);
582 free_online:
583 free_cpumask_var(rd->online);
584 free_span:
585 free_cpumask_var(rd->span);
586 out:
587 return -ENOMEM;
588 }
589

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