* [qais-yousef:generalized-misfit-lb 6/13] kernel/sched/fair.c:4919:19: error: 'struct rq' has no member named 'misfit_reason'
@ 2023-09-03 0:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-03 0:54 UTC (permalink / raw)
To: Qais Yousef; +Cc: oe-kbuild-all
tree: https://github.com/qais-yousef/linux generalized-misfit-lb
head: 4a3c3c52f83a7b4cfd5248f4e6b3330e178ec3a7
commit: dda165708a2fe535b362a02123143eae6c0a20e8 [6/13] sched/fair: Add a misfit reason
config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20230903/202309030849.5DRFYhRY-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230903/202309030849.5DRFYhRY-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/202309030849.5DRFYhRY-lkp@intel.com/
All errors (new ones prefixed by >>):
kernel/sched/fair.c:702:6: warning: no previous prototype for 'update_entity_lag' [-Wmissing-prototypes]
702 | void update_entity_lag(struct cfs_rq *cfs_rq, struct sched_entity *se)
| ^~~~~~~~~~~~~~~~~
kernel/sched/fair.c: In function 'update_misfit_status':
>> kernel/sched/fair.c:4919:19: error: 'struct rq' has no member named 'misfit_reason'
4919 | rq->misfit_reason = -1;
| ^~
kernel/sched/fair.c:4928:11: error: 'struct rq' has no member named 'misfit_reason'
4928 | rq->misfit_reason = reason;
| ^~
kernel/sched/fair.c:4911:14: warning: unused variable 'need_update' [-Wunused-variable]
4911 | bool need_update = true;
| ^~~~~~~~~~~
kernel/sched/fair.c: In function 'update_sg_lb_stats':
kernel/sched/fair.c:9712:62: error: 'struct rq' has no member named 'misfit_reason'
9712 | sgs->group_misfit_reason = rq->misfit_reason;
| ^~
vim +4919 kernel/sched/fair.c
4908
4909 static inline void update_misfit_status(struct task_struct *p, struct rq *rq)
4910 {
4911 bool need_update = true;
4912 misfit_reason_t reason;
4913
4914 if (!sched_asym_cpucap_active())
4915 return;
4916
4917 if (!is_misfit_task(p, rq, &reason)) {
4918 rq->misfit_task_load = 0;
> 4919 rq->misfit_reason = -1;
4920 return;
4921 }
4922
4923 /*
4924 * Make sure that misfit_task_load will not be null even if
4925 * task_h_load() returns 0.
4926 */
4927 rq->misfit_task_load = max_t(unsigned long, task_h_load(p), 1);
4928 rq->misfit_reason = reason;
4929 }
4930
--
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:[~2023-09-03 0:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-03 0:54 [qais-yousef:generalized-misfit-lb 6/13] kernel/sched/fair.c:4919:19: error: 'struct rq' has no member named 'misfit_reason' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.