1WW_MUTEX_UNLOCK(9) Mutex API reference WW_MUTEX_UNLOCK(9)
2
3
4
6 ww_mutex_unlock - release the w/w mutex
7
9 void __sched ww_mutex_unlock(struct ww_mutex * lock);
10
12 lock
13 the mutex to be released
14
16 Unlock a mutex that has been locked by this task previously with any of
17 the ww_mutex_lock* functions (with or without an acquire context). It
18 is forbidden to release the locks after releasing the acquire context.
19
20 This function must not be used in interrupt context. Unlocking of a
21 unlocked mutex is not allowed.
22
24 Rusty Russell <rusty@rustcorp.com.au>
25 Author.
26
28Kernel Hackers Manual 3.10 June 2019 WW_MUTEX_UNLOCK(9)