diff options
| author | John Garry <john.g.garry@oracle.com> | 2025-11-13 16:36:41 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-12-17 05:48:22 +0300 |
| commit | 559ae7a26b105f9e0b1279b3ab8029623592e900 (patch) | |
| tree | 56882c2f55c286d69d0ab3a4673c6dc1c8827283 /include/linux/timerqueue.h | |
| parent | a743b120227a371f37c46738d91cc7a9691dbcf6 (diff) | |
| download | linux-559ae7a26b105f9e0b1279b3ab8029623592e900.tar.xz | |
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
