Re: [PATCH 1/2] sched: make fair sched class can handle the cgroup change by other class

From: kbuild test robot
Date: Mon Oct 05 2015 - 05:38:34 EST


Hi Byungchul,

[auto build test ERROR on next-20151002 -- if it's inappropriate base, please ignore]

config: i386-randconfig-x009-201540 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

kernel/sched/fair.c: In function 'task_move_group_from_fair':
>> kernel/sched/fair.c:8094:3: error: implicit declaration of function '__update_load_avg' [-Werror=implicit-function-declaration]
__update_load_avg(cfs_rq->avg.last_update_time, task_cpu(p),
^
>> kernel/sched/fair.c:8094:27: error: 'struct cfs_rq' has no member named 'avg'
__update_load_avg(cfs_rq->avg.last_update_time, task_cpu(p),
^
>> kernel/sched/fair.c:8095:10: error: 'struct sched_entity' has no member named 'avg'
&se->avg, 0, 0, NULL);
^
kernel/sched/fair.c: In function 'task_move_group_to_fair':
kernel/sched/fair.c:8119:5: error: 'struct sched_entity' has no member named 'avg'
se->avg.last_update_time = cfs_rq->avg.last_update_time;
^
kernel/sched/fair.c:8119:36: error: 'struct cfs_rq' has no member named 'avg'
se->avg.last_update_time = cfs_rq->avg.last_update_time;
^
cc1: some warnings being treated as errors

vim +/__update_load_avg +8094 kernel/sched/fair.c

8088 * Detaching was already done by switched_from_fair() when
8089 * the task got off from the fair_sched_class. But now that
8090 * the base cfs_rq for aging is about to be changed, if we
8091 * enabled ATTACH_AGE_LOAD then we perform the aging here
8092 * with the old cfs_rq, as the cfs_rq is not changed yet.
8093 */
> 8094 __update_load_avg(cfs_rq->avg.last_update_time, task_cpu(p),
> 8095 &se->avg, 0, 0, NULL);
8096 }
8097 }
8098

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data