Skip to content

Commit f16cc98

Browse files
committed
Merge branch 'locking/urgent' into locking/core
Pick up the spin loop condition fix. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2 parents 5fb6e8c + 8f556a3 commit f16cc98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/locking/rtmutex.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,7 @@ static bool rtmutex_spin_on_owner(struct rt_mutex_base *lock,
13831383
* - the VCPU on which owner runs is preempted
13841384
*/
13851385
if (!owner_on_cpu(owner) || need_resched() ||
1386-
rt_mutex_waiter_is_top_waiter(lock, waiter)) {
1386+
!rt_mutex_waiter_is_top_waiter(lock, waiter)) {
13871387
res = false;
13881388
break;
13891389
}

0 commit comments

Comments
 (0)