diff options
| author | Li Chen <me@linux.beauty> | 2026-06-30 17:23:34 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-08-19 06:38:46 -0400 |
| commit | 3f14003ce7f03cd77cea54ff072d437016b9393e (patch) | |
| tree | 62d7d58a014e7b02d35698bc3332d19e1c79613c /scripts | |
| parent | e57140944b5a47a7fd5a142faab29a02af040bc8 (diff) | |
| download | linux-stable-3f14003ce7f03cd77cea54ff072d437016b9393e.tar.gz linux-stable-3f14003ce7f03cd77cea54ff072d437016b9393e.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')
0 files changed, 0 insertions, 0 deletions
