diff options
author | 2023-01-09 15:54:56 +0100 | |
---|---|---|
committer | 2023-01-11 15:28:47 +0100 | |
commit | 42400d99e9f0728c17240edb9645637ead40f6b9 (patch) | |
tree | a31270d8eb3bfa5e7f7fce4895528c70af882389 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/percpu: add READ_ONCE() to arch_this_cpu_to_op_simple() (diff) | |
download | wireguard-linux-42400d99e9f0728c17240edb9645637ead40f6b9.tar.xz wireguard-linux-42400d99e9f0728c17240edb9645637ead40f6b9.zip |
KVM: s390: interrupt: use READ_ONCE() before cmpxchg()
Use READ_ONCE() before cmpxchg() to prevent that the compiler generates
code that fetches the to be compared old value several times from memory.
Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Link: https://lore.kernel.org/r/20230109145456.2895385-1-hca@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions