diff options
author | Vincent Guittot <[email protected]> | 2019-10-18 15:26:37 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-10-21 09:40:55 +0200 |
commit | fc1273f4cefe6670d528715581c848abf64f391c (patch) | |
tree | 2c8bb77ae294837432699585a0dabad9c01a476c /drivers/usb/cdns3/cdns3-debug.h | |
parent | 11f10e5420f6cecac7d4823638bff040c257aba9 (diff) |
sched/fair: Optimize find_idlest_group()
find_idlest_group() now reads CPU's load_avg in two different ways.
Consolidate the function to read and use load_avg only once and simplify
the algorithm to only look for the group with lowest load_avg.
Signed-off-by: Vincent Guittot <[email protected]>
Cc: Ben Segall <[email protected]>
Cc: Dietmar Eggemann <[email protected]>
Cc: Juri Lelli <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: [email protected]
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions