diff options
| author | John Garry <john.g.garry@oracle.com> | 2025-11-13 13:36:41 +0000 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-12-16 21:48:22 -0500 |
| commit | 559ae7a26b105f9e0b1279b3ab8029623592e900 (patch) | |
| tree | 56882c2f55c286d69d0ab3a4673c6dc1c8827283 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | a743b120227a371f37c46738d91cc7a9691dbcf6 (diff) | |
scsi: scsi_debug: Stop using READ/WRITE_ONCE() when accessing sdebug_defer.defer_t
Using READ/WRITE_ONCE() means that the read or write is not torn by the
compiler.
READ/WRITE_ONCE() is always used when accessing sdebug_defer.defer_t.
However, we also guard the access in a spinlock when accessing that
member, and spinlock already guarantees no tearing, so stop using
READ/WRITE_ONCE().
Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://patch.msgid.link/20251113133645.2898748-3-john.g.garry@oracle.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
