commit | 709e0b62869f625afd18edd79f190c38cb39dfb2 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Sun Aug 15 23:27:55 2021 +0200 |
committer | Ingo Molnar <mingo@kernel.org> | Tue Aug 17 17:01:47 2021 +0200 |
tree | a494ff0755664c1436503aa1039264d837d2bf59 | |
parent | 785159301bedea25fae9b20cae3d12377246e941 [diff] |
locking/rtmutex: Switch to from cmpxchg_*() to try_cmpxchg_*() Allows the compiler to generate better code depending on the architecture. Suggested-by: Peter Zijlstra <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/20210815211302.668958502@linutronix.de