[PATCH 3/4] um: time-travel: rework interrupt handling in ext mode

Johannes Berg johannes at sipsolutions.net
Mon Dec 14 18:11:04 EST 2020


On Mon, 2020-12-14 at 13:08 +0100, Johannes Berg wrote:
> 
> Add a um_request_irq_tt() function that let's a time-travel aware
> driver request an interrupt with an additional timetravel_handler()
> that is called outside of the context of the simulation, to handle
> the message only. It then adds an event to the time-travel calendar
> if necessary, and no "real" Linux code runs outside of the time
> simulation.
> 
> This also hooks in with suspend/resume properly now,

Perhaps not. I think we need a separate signal handler in that case, so
that we don't have all the lockdep et al machinery active.

johannes




More information about the linux-um mailing list