* [tip:sched/urgent 2/2] kernel/sched/fair.c:3785:11: error: no member named 'nr_queued' in 'struct cfs_rq'
@ 2025-02-08 17:53 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-08 17:53 UTC (permalink / raw)
To: Peter Zijlstra; +Cc: llvm, oe-kbuild-all, linux-kernel, x86
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/urgent
head: 55294004b122c997591d9de8446f5a4c60402805
commit: 55294004b122c997591d9de8446f5a4c60402805 [2/2] sched/fair: Adhere to place_entity() constraints
config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20250209/202502090144.H79PM2fQ-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250209/202502090144.H79PM2fQ-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502090144.H79PM2fQ-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/sched/fair.c:3785:11: error: no member named 'nr_queued' in 'struct cfs_rq'
3785 | cfs_rq->nr_queued--;
| ~~~~~~ ^
kernel/sched/fair.c:3816:11: error: no member named 'nr_queued' in 'struct cfs_rq'
3816 | cfs_rq->nr_queued++;
| ~~~~~~ ^
2 errors generated.
vim +3785 kernel/sched/fair.c
3773
3774 static void reweight_entity(struct cfs_rq *cfs_rq, struct sched_entity *se,
3775 unsigned long weight)
3776 {
3777 bool curr = cfs_rq->curr == se;
3778
3779 if (se->on_rq) {
3780 /* commit outstanding execution time */
3781 update_curr(cfs_rq);
3782 update_entity_lag(cfs_rq, se);
3783 se->deadline -= se->vruntime;
3784 se->rel_deadline = 1;
> 3785 cfs_rq->nr_queued--;
3786 if (!curr)
3787 __dequeue_entity(cfs_rq, se);
3788 update_load_sub(&cfs_rq->load, se->load.weight);
3789 }
3790 dequeue_load_avg(cfs_rq, se);
3791
3792 /*
3793 * Because we keep se->vlag = V - v_i, while: lag_i = w_i*(V - v_i),
3794 * we need to scale se->vlag when w_i changes.
3795 */
3796 se->vlag = div_s64(se->vlag * se->load.weight, weight);
3797 if (se->rel_deadline)
3798 se->deadline = div_s64(se->deadline * se->load.weight, weight);
3799
3800 update_load_set(&se->load, weight);
3801
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-02-08 17:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-08 17:53 [tip:sched/urgent 2/2] kernel/sched/fair.c:3785:11: error: no member named 'nr_queued' in 'struct cfs_rq' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox