diff options
author | Chengming Zhou <zhouchengming@bytedance.com> | 2022-04-08 14:53:09 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-04-22 13:14:07 +0300 |
commit | 0a00a354644ee1800d31c47cf5927b9b50272fac (patch) | |
tree | 9bd2909864610b2678df51c2fbabb662b37d6ea0 /Documentation/accounting | |
parent | 64eaf50731ac0a8c76ce2fedd50ef6652aabc5ff (diff) | |
download | linux-0a00a354644ee1800d31c47cf5927b9b50272fac.tar.xz |
sched/fair: Delete useless condition in tg_unthrottle_up()
We have tested cfs_rq->load.weight in cfs_rq_is_decayed(),
the first condition "!cfs_rq_is_decayed(cfs_rq)" is enough
to cover the second condition "cfs_rq->nr_running".
Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Ben Segall <bsegall@google.com>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lore.kernel.org/r/20220408115309.81603-2-zhouchengming@bytedance.com
Diffstat (limited to 'Documentation/accounting')
0 files changed, 0 insertions, 0 deletions