]> git.baikalelectronics.ru Git - 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)
commitaf1253242a30a149f81b6c2e52429f4f9ff687f3
tree2b8af90adbdc6d15bd02c88902f6e2c5c1a2f8d2
parentc5c046542e5380abf9a412fd8e9b2503699a0cc2
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