diff options
| author | 2026-06-30 17:23:34 +0800 | |
|---|---|---|
| committer | 2026-08-19 06:38:46 -0400 | |
| commit | 3f14003ce7f03cd77cea54ff072d437016b9393e (patch) | |
| tree | 62d7d58a014e7b02d35698bc3332d19e1c79613c /scripts/Makefile.thinlto | |
| parent | nvdimm: virtio_pmem: refcount requests for token lifetime (diff) | |
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
