diff options
| author | Li Chen <me@linux.beauty> | 2026-06-30 17:23:34 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-08-03 23:08:18 -0400 |
| commit | 47c6063b6e3225d2165e4bcfffeac49ba68a3fb6 (patch) | |
| tree | 9007f3053405b524c557b78b213f022a0102902b /scripts/Makefile.thinlto | |
| parent | 37ac728bd77557c7fec841345ee098407d081e5f (diff) | |
| download | linux-next-47c6063b6e3225d2165e4bcfffeac49ba68a3fb6.tar.gz linux-next-47c6063b6e3225d2165e4bcfffeac49ba68a3fb6.zip | |
nvdimm: virtio_pmem: publish done with release/acquire
virtio_pmem_host_ack() publishes the device response by setting done and
waking the submitter. The submitter reads resp.ret after wait_event()
observes done.
Use smp_store_release() on done and smp_load_acquire() in the wait
condition so the response read is ordered after completion.
Signed-off-by: Li Chen <me@linux.beauty>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260630092338.2094628-10-me@linux.beauty>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
