Merge branch 'locking/urgent' into locking/futex

Pick up the upstream fix for consistency.
This commit is contained in:
Thomas Gleixner 2026-07-05 14:45:21 +02:00
commit 4a02312098

View File

@ -645,12 +645,6 @@ int futex_requeue(u32 __user *uaddr1, unsigned int flags1,
continue;
}
/* Self-deadlock: non-top waiter already owns the PI futex. */
if (rt_mutex_owner(&pi_state->pi_mutex) == this->task) {
ret = -EDEADLK;
break;
}
ret = rt_mutex_start_proxy_lock(&pi_state->pi_mutex,
this->rt_waiter,
this->task);