]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
locking/ww_mutex: Add RT priority to W/W order
authorPeter Zijlstra <peterz@infradead.org>
Sun, 15 Aug 2021 21:28:55 +0000 (23:28 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Aug 2021 17:05:08 +0000 (19:05 +0200)
commit8850d773703f8114d7c8a2421fd20bde8a558f96
tree2b8af90adbdc6d15bd02c88902f6e2c5c1a2f8d2
parentdc4564f5dc2d4b11f3f3c8d3ac94012b1c7347d6
locking/ww_mutex: Add RT priority to W/W order

RT mutex based ww_mutexes cannot order based on timestamps. They have to
order based on priority. Add the necessary decision logic.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210815211304.847536630@linutronix.de
kernel/locking/ww_mutex.h