Skip to content
Commit 38565c93 authored by Alex Williamson's avatar Alex Williamson
Browse files

vfio/pci: Implement ioeventfd thread handler for contended memory lock

The ioeventfd is called under spinlock with interrupts disabled,
therefore if the memory lock is contended defer code that might
sleep to a thread context.

Fixes: bc93b9ae ("vfio-pci: Avoid recursive read-lock usage")
Link: https://bugzilla.kernel.org/show_bug.cgi?id=209253#c1


Reported-by: default avatarIan Pilcher <arequipeno@gmail.com>
Tested-by: default avatarIan Pilcher <arequipeno@gmail.com>
Tested-by: default avatarJustin Gatzen <justin.gatzen@gmail.com>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 8e91cb38
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment