[PATCH 0/7] vhost: FD manager improvements

David Marchand david.marchand at redhat.com
Mon Mar 4 11:35:15 CET 2024


On Thu, Feb 29, 2024 at 1:25 PM Maxime Coquelin
<maxime.coquelin at redhat.com> wrote:
>
> This series aims at improving the Vhost FD manager.
>
> First patch is a fix necessary to have VDUSE devices
> destroy to work. I expect it to be taken into v24.03
> release.
>
> The rest of the series are various improvements to the
> FD manager that can wait v24.07 release.
>
> Maxime Coquelin (7):
>   vhost: fix VDUSE device destruction failure
>   vhost: rename polling mutex
>   vhost: make use of FD manager init function
>   vhost: hide synchronization within FD manager
>   vhost: improve fdset initialization
>   vhost: convert fdset sync to eventfd
>   vhost: improve FD manager logging
>
>  lib/vhost/fd_man.c      | 313 +++++++++++++++++------
>  lib/vhost/fd_man.c.orig | 538 ++++++++++++++++++++++++++++++++++++++++
>  lib/vhost/fd_man.h      |  41 +--
>  lib/vhost/socket.c      |  37 +--
>  lib/vhost/vduse.c       |  51 +---
>  5 files changed, 800 insertions(+), 180 deletions(-)
>  create mode 100644 lib/vhost/fd_man.c.orig

I marked all but the first patch as Deferred.
I'll send a new revision of the fix to address the deadlock revealed by CI.


-- 
David Marchand



More information about the dev mailing list