|FIXUP_OWNER(9)||Futex API reference||FIXUP_OWNER(9)|
fixup_owner - Post lock pi_state and corner case management
int fixup_owner(u32 __user * uaddr, struct futex_q * q, int locked);
After attempting to lock an rt_mutex, this function is called to cleanup the pi_state owner as well as handle race conditions that may allow us to acquire the lock. Must be called with the hb lock held.
1 - success, lock taken; 0 - success, lock not taken; <0 - on error (-EFAULT)
Rusty Russell <email@example.com>
|January 2017||Kernel Hackers Manual 4.8.|