summaryrefslogtreecommitdiff
path: root/include/linux/devm-helpers.h
diff options
context:
space:
mode:
authorEugenio Pérez <eperezma@redhat.com>2026-07-07 14:33:43 +0200
committerMichael S. Tsirkin <mst@redhat.com>2026-08-03 23:08:20 -0400
commit78bbdaecb2d8ac460a69175dd61c27bf77e7e2f8 (patch)
tree3593e8d556df8b3fe870194ae5c9d774fab6770d /include/linux/devm-helpers.h
parentf66f0b2d4486973b847451368142eb9a07bd03dc (diff)
downloadlinux-next-78bbdaecb2d8ac460a69175dd61c27bf77e7e2f8.tar.gz
linux-next-78bbdaecb2d8ac460a69175dd61c27bf77e7e2f8.zip
vduse: do not take rwsem at reset work flush
Next patches need to check suspend flag at this work item, and the rwlock is used to protect the suspend flag update. If the work takes the rwlock too it will produce a deadlock. Make flushing work do nothing when called by de-initializing everything: vq->ready, vq->kickfd, vq->cb.callback. Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20260707123344.244575-2-eperezma@redhat.com>
Diffstat (limited to 'include/linux/devm-helpers.h')
0 files changed, 0 insertions, 0 deletions