Messages in this thread | | | Date | Fri, 8 Apr 2022 14:28:00 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH v2 1/2] sched/fair: Fix cfs_rq_clock_pelt() for throttled cfs_rq |
| |
On Fri, Apr 08, 2022 at 07:53:08PM +0800, Chengming Zhou wrote: > Since commit 23127296889f ("sched/fair: Update scale invariance of PELT") > change to use rq_clock_pelt() instead of rq_clock_task(), we should also > use rq_clock_pelt() for throttled_clock_task_time and throttled_clock_task > accounting to get correct cfs_rq_clock_pelt() of throttled cfs_rq. And > rename throttled_clock_task(_time) to be clock_pelt rather than clock_task. > > Fixes: 23127296889f ("sched/fair: Update scale invariance of PELT") > Reviewed-by: Ben Segall <bsegall@google.com> > Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org> > Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Thanks! (for all 3 patches)
| |