Merge branch 'locking/urgent' into locking/core
Pick up the spin loop condition fix. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -1383,7 +1383,7 @@ static bool rtmutex_spin_on_owner(struct rt_mutex_base *lock,
|
|||||||
* - the VCPU on which owner runs is preempted
|
* - the VCPU on which owner runs is preempted
|
||||||
*/
|
*/
|
||||||
if (!owner_on_cpu(owner) || need_resched() ||
|
if (!owner_on_cpu(owner) || need_resched() ||
|
||||||
rt_mutex_waiter_is_top_waiter(lock, waiter)) {
|
!rt_mutex_waiter_is_top_waiter(lock, waiter)) {
|
||||||
res = false;
|
res = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user