diff options
author | Ricardo Neri <[email protected]> | 2021-09-10 18:18:16 -0700 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2021-10-05 15:52:02 +0200 |
commit | 6025643596895695956c27119c6b0bfa40d8035b (patch) | |
tree | 3e3c5d9b38f86e96d602eba0c2925b9c1d18fc13 /scripts/gdb/linux/proc.py | |
parent | 16d364ba6ef2aa59b409df70682770f3ed23f7c0 (diff) |
sched/fair: Optimize checking for group_asym_packing
sched_asmy_prefer() always returns false when called on the local group. By
checking local_group, we can avoid additional checks and invoking
sched_asmy_prefer() when it is not needed. No functional changes are
introduced.
Signed-off-by: Ricardo Neri <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Joel Fernandes (Google) <[email protected]>
Reviewed-by: Len Brown <[email protected]>
Reviewed-by: Vincent Guittot <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions