diff options
author | Suresh Siddha <[email protected]> | 2010-09-13 11:02:21 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2010-09-21 13:50:50 +0200 |
commit | f6c3f1686e7ec1dd8725a9a3dcb857dfd0c7a5bf (patch) | |
tree | fb0179d1f071dbb857e0ab7f2aace4579deb62c1 /drivers/serial/serial_cs.c | |
parent | e75e863dd5c7d96b91ebbd241da5328fc38a78cc (diff) |
sched: Fix nohz balance kick
There's a situation where the nohz balancer will try to wake itself:
cpu-x is idle which is also ilb_cpu
got a scheduler tick during idle
and the nohz_kick_needed() in trigger_load_balance() checks for
rq_x->nr_running which might not be zero (because of someone waking a
task on this rq etc) and this leads to the situation of the cpu-x
sending a kick to itself.
And this can cause a lockup.
Avoid this by not marking ourself eligible for kicking.
Signed-off-by: Suresh Siddha <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/serial/serial_cs.c')
0 files changed, 0 insertions, 0 deletions