]> git.ipfire.org Git - thirdparty/linux.git/commit
virtio_ring: factor out split detaching logic
authorJason Wang <jasowang@redhat.com>
Tue, 30 Dec 2025 06:46:48 +0000 (14:46 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 31 Dec 2025 10:47:50 +0000 (05:47 -0500)
commit519b206e30a37f16cfa88a2f6a508642f7d8fd0c
treeb2743640b388da1f5ce7f2516e861e0fc785ea25
parent9dc6b944f16c0904331903ba0ec36e558e1a3537
virtio_ring: factor out split detaching logic

This patch factors out the split core detaching logic that could be
reused by in order feature into a dedicated function.

Acked-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20251230064649.55597-19-jasowang@redhat.com>
drivers/virtio/virtio_ring.c