Re: [PATCH] sched/uclamp: Fix race condition leading to imbalanced uclamp_rq

From: kernel test robot

Date: Sun Oct 25 2026 - 11:57:02 EST


Hi Qais,

kernel test robot noticed the following build errors:

[auto build test ERROR on tip/sched/core]
[also build test ERROR on tip/master peterz-queue/sched/core linus/master v7.3 next-20261023]
[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/Qais-Yousef/sched-uclamp-Fix-race-condition-leading-to-imbalanced-uclamp_rq/20261025-003945
base: tip/sched/core
patch link: https://lore.kernel.org/r/20261024233945.74794-1-qyousef%40layalina.io
patch subject: [PATCH] sched/uclamp: Fix race condition leading to imbalanced uclamp_rq
config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20261025/202610252327.6QJlXAiY-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261025/202610252327.6QJlXAiY-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/202610252327.6QJlXAiY-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> ld.lld: error: duplicate symbol: init_uclamp_rq
>>> defined at core.c
>>> kernel/sched/core.o:(init_uclamp_rq) in archive vmlinux.a
>>> defined at fair.c
>>> kernel/sched/fair.o:(.text+0x1) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: init_uclamp_rq
>>> defined at core.c
>>> kernel/sched/core.o:(init_uclamp_rq) in archive vmlinux.a
>>> defined at build_utility.c
>>> kernel/sched/build_utility.o:(.text+0x1) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: init_uclamp_rq
>>> defined at core.c
>>> kernel/sched/core.o:(init_uclamp_rq) in archive vmlinux.a
>>> defined at build_policy.c
>>> kernel/sched/build_policy.o:(.text+0x1) in archive vmlinux.a

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