Re: [PATCH v3] sched: revise the initial value of the util_avg.

2020-11-06 Thread Tao Zhou
On Fri, Nov 06, 2020 at 11:22:03AM +0800, Xuewen Yan wrote: > According to the original code logic: > cfs_rq->avg.util_avg > sa->util_avg = * se->load.weight > cfs_rq->avg.load_avg > but for fair_sched_class in 64bits platform: > se->load.weight =

[PATCH v3] sched: revise the initial value of the util_avg.

2020-11-05 Thread Xuewen Yan
According to the original code logic: cfs_rq->avg.util_avg sa->util_avg = * se->load.weight cfs_rq->avg.load_avg but for fair_sched_class in 64bits platform: se->load.weight = 1024 * sched_prio_to_weight[prio]; cfs_rq->avg.util_avg so th