diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2020-05-13 15:55:28 +0200 |
---|---|---|
committer | Vincent Guittot <vincent.guittot@linaro.org> | 2020-05-25 18:35:51 +0200 |
commit | fd17227f434aefa39beefda581564a37aa007a5c (patch) | |
tree | 05965e203c6846169b9f07c3831f548aa22570ed /sound/firewire | |
parent | b4ec8b31a699678f993caf31332f651f26238bc6 (diff) |
sched/fair: Fix unthrottle_cfs_rq() for leaf_cfs_rq listtest/backport-v5.6
commit 39f23ce07b9355d05a64ae303ce20d1c4b92b957 upstream.
Although not exactly identical, unthrottle_cfs_rq() and enqueue_task_fair()
are quite close and follow the same sequence for enqueuing an entity in the
cfs hierarchy. Modify unthrottle_cfs_rq() to use the same pattern as
enqueue_task_fair(). This fixes a problem already faced with the latter and
add an optimization in the last for_each_sched_entity loop.
Fixes: fe61468b2cb (sched/fair: Fix enqueue_task_fair warning)
Reported-by Tao Zhou <zohooouoto@zoho.com.cn>
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Phil Auld <pauld@redhat.com>
Reviewed-by: Ben Segall <bsegall@google.com>
Link: https://lkml.kernel.org/r/20200513135528.4742-1-vincent.guittot@linaro.org
Diffstat (limited to 'sound/firewire')
0 files changed, 0 insertions, 0 deletions