Re: [PATCH v3 4/5] vhost: improve fdset initialization

2024-04-26 Thread Maxime Coquelin
Hi Chenbo, On 4/26/24 09:40, Chenbo Xia wrote: Hi Maxime, On Apr 9, 2024, at 19:48, Maxime Coquelin wrote: External email: Use caution opening links or attachments This patch heavily reworks fdset initialization: - fdsets are now dynamically allocated by the FD manager - the event dispatch

Re: [PATCH v3 4/5] vhost: improve fdset initialization

2024-04-26 Thread Chenbo Xia
Hi Maxime, > On Apr 9, 2024, at 19:48, Maxime Coquelin wrote: > > External email: Use caution opening links or attachments > > > This patch heavily reworks fdset initialization: > - fdsets are now dynamically allocated by the FD manager > - the event dispatcher is now created by the FD manager

[PATCH v3 4/5] vhost: improve fdset initialization

2024-04-09 Thread Maxime Coquelin
This patch heavily reworks fdset initialization: - fdsets are now dynamically allocated by the FD manager - the event dispatcher is now created by the FD manager - struct fdset is now opaque to VDUSE and Vhost Signed-off-by: Maxime Coquelin --- lib/vhost/fd_man.c | 177 +++