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-19 06:38:46 -0400
commit08e72a5ba1ab9dc0adf993ff0f4d606a1e3445a8 (patch)
tree27c3c5f239938959c41124bfa72799b0c26eb1ec /scripts/Makefile.thinlto
parent811808761e19fdea1c25b7c76734b8945f758f27 (diff)
downloadlinux-stable-08e72a5ba1ab9dc0adf993ff0f4d606a1e3445a8.tar.gz
linux-stable-08e72a5ba1ab9dc0adf993ff0f4d606a1e3445a8.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