aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorUros Bizjak <[email protected]>2024-07-19 12:38:52 +0200
committerAndrew Morton <[email protected]>2024-09-01 20:43:23 -0700
commitacf02be3c72f12c31f916d3465c4c716b4729538 (patch)
tree9f247e7a5d880e4f6d20a108c7c68680d7545b0f /tools/perf/scripts/python/export-to-postgresql.py
parente24f4de8a72b50b67ea116b38152bb98360f81b3 (diff)
kexec: use atomic_try_cmpxchg_acquire() in kexec_trylock()
Use atomic_try_cmpxchg_acquire(*ptr, &old, new) instead of atomic_cmpxchg_acquire(*ptr, old, new) == old in kexec_trylock(). x86 CMPXCHG instruction returns success in ZF flag, so this change saves a compare after cmpxchg. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Uros Bizjak <[email protected]> Acked-by: Baoquan He <[email protected]> Cc: Eric Biederman <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions