* [zen-kernel-zen-kernel:5.14/cacule 1/2] kernel/sched/fair.c:708:38: error: 'struct rq' has no member named 'cfs_tasks'
@ 2021-09-14 9:59 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-14 9:59 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2628 bytes --]
tree: https://github.com/zen-kernel/zen-kernel 5.14/cacule
head: 4430be30ae5bf7d608eb292aa8680a2dc82ca847
commit: 9e3f9e4d524cfe1d20d03a731930e4d6ebacbfd8 [1/2] CacULE 5.14
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/zen-kernel/zen-kernel/commit/9e3f9e4d524cfe1d20d03a731930e4d6ebacbfd8
git remote add zen-kernel-zen-kernel https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.14/cacule
git checkout 9e3f9e4d524cfe1d20d03a731930e4d6ebacbfd8
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
kernel/sched/fair.c: In function 'update_IS':
>> kernel/sched/fair.c:708:38: error: 'struct rq' has no member named 'cfs_tasks'
708 | struct list_head *tasks = &rq->cfs_tasks;
| ^~
kernel/sched/fair.c: At top level:
kernel/sched/fair.c:842:5: warning: no previous prototype for 'sched_update_scaling' [-Wmissing-prototypes]
842 | int sched_update_scaling(void)
| ^~~~~~~~~~~~~~~~~~~~
vim +708 kernel/sched/fair.c
704
705 #ifdef CONFIG_CACULE_RDB
706 static void update_IS(struct rq *rq)
707 {
> 708 struct list_head *tasks = &rq->cfs_tasks;
709 struct task_struct *p, *to_migrate = NULL;
710 unsigned int max_IS = ~0, temp_IS;
711
712 list_for_each_entry(p, tasks, se.group_node) {
713 if (task_running(rq, p))
714 continue;
715
716 temp_IS = calc_interactivity(sched_clock(), &p->se.cacule_node);
717 if (temp_IS < max_IS) {
718 to_migrate = p;
719 max_IS = temp_IS;
720 }
721 }
722
723 if (to_migrate) {
724 WRITE_ONCE(rq->max_IS_score, max_IS);
725 WRITE_ONCE(rq->to_migrate_task, to_migrate);
726 } else if (rq->max_IS_score != ~0) {
727 WRITE_ONCE(rq->max_IS_score, ~0);
728 WRITE_ONCE(rq->to_migrate_task, NULL);
729 }
730 }
731 #endif
732
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 60040 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-14 9:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-14 9:59 [zen-kernel-zen-kernel:5.14/cacule 1/2] kernel/sched/fair.c:708:38: error: 'struct rq' has no member named 'cfs_tasks' 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.