diff options
author | Vincent Guittot <[email protected]> | 2015-02-27 16:54:09 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-03-27 09:36:02 +0100 |
commit | ca6d75e6908efbc350d536e0b496ebdac36b20d2 (patch) | |
tree | e2e5c20604a6348678176a8f35755489d390a56a /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | b5b4860d1d61ddc5308c7d492cbeaa3a6e508d7f (diff) |
sched: Add struct rq::cpu_capacity_orig
This new field 'cpu_capacity_orig' reflects the original capacity of a CPU
before being altered by rt tasks and/or IRQ
The cpu_capacity_orig will be used:
- to detect when the capacity of a CPU has been noticeably reduced so we can
trig load balance to look for a CPU with better capacity. As an example, we
can detect when a CPU handles a significant amount of irq
(with CONFIG_IRQ_TIME_ACCOUNTING) but this CPU is seen as an idle CPU by
scheduler whereas CPUs, which are really idle, are available.
- evaluate the available capacity for CFS tasks
Signed-off-by: Vincent Guittot <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Kamalesh Babulal <[email protected]>
Acked-by: Morten Rasmussen <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions