diff options
| author | Anton Ivanov <[email protected]> | 2015-12-21 11:28:02 +0000 |
|---|---|---|
| committer | Richard Weinberger <[email protected]> | 2016-01-10 21:49:47 +0100 |
| commit | d5e3f5cbe5cee7fe6da26566559a978547179b37 (patch) | |
| tree | 7f40e2da3a070e811a412865ffbf5c317844e257 /scripts/gdb/linux/clk.py | |
| parent | 0754fb298f2f2719f0393491d010d46cfb25d043 (diff) | |
um: Prevent IRQ handler reentrancy
The existing IRQ handler design in UML does not prevent reentrancy
This is mitigated by fd-enable/fd-disable semantics for the IO
portion of the UML subsystem. The timer, however, can and is
re-entered resulting in very deep stack usage and occasional
stack exhaustion.
This patch prevents this by checking if there is a timer
interrupt in-flight before processing any pending timer interrupts.
Signed-off-by: Anton Ivanov <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions