diff options
author | Zqiang <[email protected]> | 2021-12-17 15:42:07 +0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2021-12-18 10:55:51 +0100 |
commit | 8f556a326c93213927e683fc32bbf5be1b62540a (patch) | |
tree | 08effe7cabd24285cd4a31c5d7dff81a76317f92 /kernel/bpf/stackmap.c | |
parent | 2585cf9dfaaddf00b069673f27bb3f8530e2039c (diff) |
locking/rtmutex: Fix incorrect condition in rtmutex_spin_on_owner()
Optimistic spinning needs to be terminated when the spinning waiter is not
longer the top waiter on the lock, but the condition is negated. It
terminates if the waiter is the top waiter, which is defeating the whole
purpose.
Fixes: c3123c431447 ("locking/rtmutex: Dont dereference waiter lockless")
Signed-off-by: Zqiang <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions