diff options
author | Vincent Guittot <[email protected]> | 2014-08-26 13:06:50 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-09-19 12:35:28 +0200 |
commit | bd61c98f9b3f142cd63f9e15acfe203bec9e5f5a (patch) | |
tree | 22f81a29271fae693da87fc6df170828775c1be4 /net/lapb/lapb_subr.c | |
parent | d3bfca1a7b028a57d648dbc0985492c6a4466ccf (diff) |
sched: Test the CPU's capacity in wake_affine()
Currently the task always wakes affine on this_cpu if the latter is idle.
Before waking up the task on this_cpu, we check that this_cpu capacity is not
significantly reduced because of RT tasks or irq activity.
Use case where the number of irq and/or the time spent under irq is important
will take benefit of this because the task that is woken up by irq or softirq
will not use the same CPU than irq (and softirq) but a idle one.
Signed-off-by: Vincent Guittot <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions