Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d5e3f5cb authored by Anton Ivanov's avatar Anton Ivanov Committed by Richard Weinberger
Browse files

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: default avatarAnton Ivanov <aivanov@brocade.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 0754fb29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment