Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1239388

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

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] sched: make fair sched class can handle the cgroup change by other class
Date 2015-10-05 11:40 +0200
Message-ID <qgapr-3ou-1@gated-at.bofh.it> (permalink)
References <qga65-31A-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] sched: make fair sched class can handle the cgroup change by other class <byungchul.park@lge.com> - 2015-10-05 11:20 +0200
  Re: [PATCH 1/2] sched: make fair sched class can handle the cgroup  change by other class kbuild test robot <lkp@intel.com> - 2015-10-05 11:40 +0200

csiph-web