aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorQais Yousef <[email protected]>2015-01-19 11:51:29 +0000
committerThomas Gleixner <[email protected]>2015-01-26 11:38:23 +0100
commitd7eb4f2ecccd71f701bc8873bcf07c2d3b0375f6 (patch)
tree293479773c2e028aff2ea9ae1d3c2dc14bbb7f16 /tools/perf/scripts/python/event_analyzing_sample.py
parent8041dfbd31cfff31309a2469c3d692595381c38e (diff)
irqchip: mips-gic: Handle pending interrupts once in __gic_irq_dispatch()
When an interrupt occurs __gic_irq_dispatch() continuously reads local and shared pending registers until all is serviced before returning. The problem with that is that it could introduce a long delay before returning if a piece of hardware keeps triggering while in one of these loops. To ensure fairness and priority doesn't get skewed a lot, read local and shared pending registers once to service each pending IRQ once. If another interupt triggers while servicing the current ones, then we shall re-enter the handler after we return. Signed-off-by: Qais Yousef <[email protected]> Cc: Jason Cooper <[email protected]> Cc: Andrew Bresticker <[email protected]> Cc: <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions