Re: [PATCH v9 3/3] sched/uclamp: Fix race condition leading to imbalanced uclamp_rq
From: kernel test robot
Date: Sun Nov 29 2026 - 18:04:01 EST
Hi Qais,
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 v7.4-rc4 next-20261127]
[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-Use-wrappers-instead-of-open-coding-UCLAMP_FLAG_IDLE/20261129-184050
base: tip/sched/core
patch link: https://lore.kernel.org/r/20261129184052.15594-4-qyousef%40layalina.io
patch subject: [PATCH v9 3/3] sched/uclamp: Fix race condition leading to imbalanced uclamp_rq
config: s390-allnoconfig (https://download.01.org/0day-ci/archive/20261130/20261130065142.jL2yjqPL-lkp@xxxxxxxxx/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 04597ff5c4eda9d66da39a536aa26a7bab2fb2dd)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261130/20261130065142.jL2yjqPL-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/20261130065142.jL2yjqPL-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> kernel/sched/fair.c:7948:6: warning: no previous prototype for function 'task_is_throttled' [-Wmissing-prototypes]
7948 | bool task_is_throttled(struct task_struct *p) { return false; }
| ^
kernel/sched/fair.c:7948:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
7948 | bool task_is_throttled(struct task_struct *p) { return false; }
| ^
| static
1 warning generated.
vim +/task_is_throttled +7948 kernel/sched/fair.c
7942
7943 static bool account_cfs_rq_runtime(struct cfs_rq *cfs_rq, u64 delta_exec) { return false; }
7944 static void check_enqueue_throttle(struct cfs_rq *cfs_rq) {}
7945 static inline void sync_throttle(struct task_group *tg, int cpu) {}
7946 static __always_inline void return_cfs_rq_runtime(struct cfs_rq *cfs_rq) {}
7947 static void task_throttle_setup_work(struct task_struct *p) {}
> 7948 bool task_is_throttled(struct task_struct *p) { return false; }
7949 static void dequeue_throttled_task(struct task_struct *p, int flags) {}
7950 static bool enqueue_throttled_task(struct task_struct *p) { return false; }
7951 static void record_throttle_clock(struct cfs_rq *cfs_rq) {}
7952
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki