Skip to content

Conversation

kolerov
Copy link
Contributor

@kolerov kolerov commented Jul 2, 2024

Since an interrupt requires LF to be cleared and there is no hook for usermode interrupts, we save/validate current thread id to detect preemption and clear LF. This only needs to be done where it is relevant for LF (llock/scond variant helpers).

P.S. This is a patch for an old issue. We can safely push it.

Since an interrupt requires LF to be cleared and there is no hook for usermode interrupts, we save/validate current thread id to detect preemption and clear LF. This only needs to be done where it is relevant for LF (llock/scond variant helpers). Signed-off-by: BrunoASMauricio <brunoasmauricio@gmail.com>
@kolerov kolerov requested a review from shahab-vahedi July 2, 2024 14:05
@kolerov kolerov self-assigned this Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants