diff options
| author | sungbyeongchan <tjdqudcks0424@naver.com> | 2026-10-08 14:04:23 +0900 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-11-03 07:32:13 -0500 |
| commit | e498eb93f961db1a1dfdabd373500f0d4019c9a4 (patch) | |
| tree | d73399ca81cf3e5753e2b743c2424a2d1cddd4a0 /scripts/Makefile.thinlto | |
| parent | 3d8c5b714c186d08c8fe8c8cfd1f9b89525ab067 (diff) | |
| download | linux-next-e498eb93f961db1a1dfdabd373500f0d4019c9a4.tar.gz linux-next-e498eb93f961db1a1dfdabd373500f0d4019c9a4.zip | |
virtio_ring: use shadow flags when detaching split descriptors
Split virtqueues save descriptor flags and next indexes in desc_extra
before publishing descriptors to the device. The detach path uses the
shadow next index, but decides whether to continue by rereading the NEXT
flag from the shared descriptor.
Use the shadow flags for the continuation decision as well. This keeps
all detach metadata in the same driver-owned snapshot and avoids an
unnecessary shared-ring read.
Fixes: 72b5e8958738 ("virtio-ring: store DMA metadata in desc_extra for split virtqueue")
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Assisted-by: LLM
Signed-off-by: sungbyeongchan <tjdqudcks0424@naver.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20261008050423.32221-1-tjdqudcks0424@naver.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
