commit | aa2e999037be47f557890eb93856b85f122bd67e | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@kernel.org> | Fri Apr 04 13:18:08 2025 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Wed Apr 30 20:09:11 2025 -0700 |
tree | 83856085a025f4d47df15e12eb666829ef27c14c | |
parent | 100ed52c7849d2ef372c48a2cb83da4c4ae88d97 [diff] |
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). Signed-off-by: Alexei Starovoitov <ast@kernel.org>