summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorLi Chen <me@linux.beauty>2026-06-30 17:23:32 +0800
committerMichael S. Tsirkin <mst@redhat.com>2026-08-03 23:08:18 -0400
commitbe595885fc537a0ac0cb83538593cccfaf7f7b71 (patch)
treefbd70caa13ea56d4f0a0d837dd74337605762243 /scripts/Makefile.thinlto
parent5915b4ca83967fd6daf521c8599acefe62c0a80b (diff)
downloadlinux-next-be595885fc537a0ac0cb83538593cccfaf7f7b71.tar.gz
linux-next-be595885fc537a0ac0cb83538593cccfaf7f7b71.zip
nvdimm: virtio_pmem: use READ_ONCE()/WRITE_ONCE() for wait flags
Use READ_ONCE()/WRITE_ONCE() for the wait_event() flags (done and wq_buf_avail). They are observed by waiters without pmem_lock, so make the accesses explicit single loads/stores and avoid compiler reordering/caching across the wait/wake paths. Acked-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com> Signed-off-by: Li Chen <me@linux.beauty> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20260630092338.2094628-8-me@linux.beauty>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions