diff options
| author | Uros Bizjak <[email protected]> | 2024-04-10 08:29:34 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2024-04-10 15:04:54 +0200 |
| commit | e73c4e34a0e9e3dfcb4e5ee4ccd3039a7b603218 (patch) | |
| tree | a760c0320424e5387a89e4b42ccaa15c9e0447ad /tools/perf/scripts/python | |
| parent | 276b893049e4cdc2f33c009706a75ec18a114485 (diff) | |
locking/atomic/x86: Introduce arch_atomic64_read_nonatomic() to x86_32
Introduce arch_atomic64_read_nonatomic() for 32-bit targets to load
the value from atomic64_t location in a non-atomic way. This
function is intended to be used in cases where a subsequent atomic
operation will handle the torn value, and can be used to prime the
first iteration of unconditional try_cmpxchg() loops.
Suggested-by: Mark Rutland <[email protected]>
Signed-off-by: Uros Bizjak <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions