diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2024-04-12 10:38:53 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-04-12 11:42:39 +0200 |
commit | 91095666125a666c8f20c2323b742c53165c0325 (patch) | |
tree | 75b880204cb0bad3025b9a8793a113a25ad43d6f /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | fea0e1820b51fff95c85518eb9cf3386f367908d (diff) |
locking/pvqspinlock/x86: Remove redundant CMP after CMPXCHG in __raw_callee_save___pv_queued_spin_unlock()
x86 CMPXCHG instruction returns success in the ZF flag. Remove
redundant CMP instruction after CMPXCHG that performs the same check.
Also update the function comment to mention the modern version
of the equivalent C code.
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20240412083908.282802-1-ubizjak@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions