diff options
author | 2021-02-19 16:40:30 +0100 | |
---|---|---|
committer | 2021-02-23 10:07:52 -0600 | |
commit | 6977c0b560f190d0d4786f99d9c120126fe654f2 (patch) | |
tree | 7edc2267478b06e14da0fc59a60928f50667687d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xen/evtchn: use smp barriers for user event ring (diff) | |
download | wireguard-linux-6977c0b560f190d0d4786f99d9c120126fe654f2.tar.xz wireguard-linux-6977c0b560f190d0d4786f99d9c120126fe654f2.zip |
xen/evtchn: use READ/WRITE_ONCE() for accessing ring indices
For avoiding read- and write-tearing by the compiler use READ_ONCE()
and WRITE_ONCE() for accessing the ring indices in evtchn.c.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/20210219154030.10892-9-jgross@suse.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions