aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorChengming Zhou <[email protected]>2022-04-08 19:53:09 +0800
committerPeter Zijlstra <[email protected]>2022-04-22 12:14:07 +0200
commit0a00a354644ee1800d31c47cf5927b9b50272fac (patch)
tree9bd2909864610b2678df51c2fbabb662b37d6ea0 /lib/memory-notifier-error-inject.c
parent64eaf50731ac0a8c76ce2fedd50ef6652aabc5ff (diff)
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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Ben Segall <[email protected]> Reviewed-by: Vincent Guittot <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions