Messages in this thread | | | Date | Sun, 23 Dec 2012 19:42:29 +0800 | Subject | Re: [PATCH 07/18] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task | From | Alex Shi <> |
| |
>> @@ -2487,7 +2487,7 @@ static void __update_cpu_load(struct rq *this_rq, unsigned long this_load, >> void update_idle_cpu_load(struct rq *this_rq) >> { >> unsigned long curr_jiffies = ACCESS_ONCE(jiffies); >> - unsigned long load = this_rq->load.weight; >> + unsigned long load = (unsigned long)this_rq->cfs.runnable_load_avg; > > So shouldn't this line be guarded with CONFIG_SMP too?
Thanks reminder. Yes, I already found this problem and plan to resend the patch base on latest tree.
> > Thanks,
| |