summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-12-13 09:57:17 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-08 12:01:33 -0800
commit78489300c39e88c1f75dbc4a360176cb0778361c (patch)
tree116a4fdcca50c32c3e62376dea4b6e472a4fb4aa /README
parent08d62c691a5417b713b02d9dcba8950f437a1287 (diff)
downloadlinux-rt-78489300c39e88c1f75dbc4a360176cb0778361c.tar.gz
clockevents: fix reprogramming decision in oneshot broadcast
patch cdc6f27d9e3c2f7ca1a3e19c6eabb1ad6a2add5d in mainline. A previous version of the code did the reprogramming of the broadcast device in the return from idle code. This was removed, but the logic in tick_handle_oneshot_broadcast() was kept the same. When a broadcast interrupt happens we signal the expiry to all CPUs which have an expired event. If none of the CPUs has an expired event, which can happen in dyntick mode, then we reprogram the broadcast device. We do not reprogram otherwise, but this is only correct if all CPUs, which are in the idle broadcast state have been woken up. The code ignores, that there might be pending not yet expired events on other CPUs, which are in the idle broadcast state. So the delivery of those events can be delayed for quite a time. Change the tick_handle_oneshot_broadcast() function to check for CPUs, which are in broadcast state and are not woken up by the current event, and enforce the rearming of the broadcast device for those CPUs. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions