Files
erofs-linux/kernel/locking
Alexei Starovoitov 4957089a23 locking/local_lock: Introduce local_lock_is_locked().
Introduce local_lock_is_locked() that returns true when
given local_lock is locked by current cpu (in !PREEMPT_RT) or
by current task (in PREEMPT_RT).
The goal is to detect a deadlock by the caller.

Reviewed-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>
2025-09-29 09:42:35 +02:00
..
…