Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'locking_urgent_for_v5.16_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull locking fix from Borislav Petkov:

- Fix the rtmutex condition checking when the optimistic spinning of a
waiter needs to be terminated

* tag 'locking_urgent_for_v5.16_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
locking/rtmutex: Fix incorrect condition in rtmutex_spin_on_owner()

+1 -1
+1 -1
kernel/locking/rtmutex.c
··· 1380 1380 * - the VCPU on which owner runs is preempted 1381 1381 */ 1382 1382 if (!owner->on_cpu || need_resched() || 1383 - rt_mutex_waiter_is_top_waiter(lock, waiter) || 1383 + !rt_mutex_waiter_is_top_waiter(lock, waiter) || 1384 1384 vcpu_is_preempted(task_cpu(owner))) { 1385 1385 res = false; 1386 1386 break;