Files
linux/kernel/locking
Thomas Gleixner c2c360ed7f locking/rtmutex: Restrict the trylock WARN_ON() to debug
The warning as written is expensive and not really required for a
production kernel. Make it depend on rt mutex debugging and use !in_task()
for the condition which generates far better code and gives the same
answer.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210326153944.436565064@linutronix.de
2021-03-29 15:57:04 +02:00
..
2021-03-22 02:45:52 +01:00
2021-03-22 02:45:52 +01:00
2021-03-22 02:45:52 +01:00
2021-03-22 02:45:52 +01:00
2019-08-08 09:09:25 +02:00
2021-03-22 02:45:52 +01:00
2021-03-22 02:45:52 +01:00
2021-03-22 02:45:52 +01:00