diff options
author | Uros Bizjak <[email protected]> | 2022-12-21 20:35:40 +0100 |
---|---|---|
committer | Christian Brauner (Microsoft) <[email protected]> | 2023-01-08 12:37:49 +0100 |
commit | 4e1da8fe031303599e78f88e0dad9f44272e4f99 (patch) | |
tree | be4f00de082d570ac06a21010528c2150bde5670 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1b929c02afd37871d5afb9d498426f83432e71c2 (diff) |
posix_acl: Use try_cmpxchg in get_acl
Use try_cmpxchg instead of cmpxchg (*ptr, old, new) == old
in get_acl. x86 CMPXCHG instruction returns success in ZF flag,
so this change saves a compare after cmpxchg (and related move
instruction in front of cmpxchg).
No functional change intended.
Signed-off-by: Uros Bizjak <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Alexander Viro <[email protected]>
Signed-off-by: Christian Brauner (Microsoft) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions