-
Alex Williamson authored
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:
Ian Pilcher <arequipeno@gmail.com> Tested-by:
Ian Pilcher <arequipeno@gmail.com> Tested-by:
Justin Gatzen <justin.gatzen@gmail.com> Signed-off-by:
Alex Williamson <alex.williamson@redhat.com>
38565c93Alex Williamson authoredThe 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:
Ian Pilcher <arequipeno@gmail.com> Tested-by:
Ian Pilcher <arequipeno@gmail.com> Tested-by:
Justin Gatzen <justin.gatzen@gmail.com> Signed-off-by:
Alex Williamson <alex.williamson@redhat.com>
Loading