Re: [PATCH v4 1/8] vhost: Add a new parameter in vhost_dev to allow user select kthread

2024-12-18 Thread Cindy Lu
On Wed, Dec 11, 2024 at 1:52 AM Stefano Garzarella wrote: > > On Wed, Dec 11, 2024 at 12:41:40AM +0800, Cindy Lu wrote: > >The vhost now uses vhost_task and workers as a child of the owner thread. > >While this aligns with containerization principles,it confuses some legacy > > nit: missing space

Re: [PATCH v4 1/8] vhost: Add a new parameter in vhost_dev to allow user select kthread

2024-12-10 Thread Stefano Garzarella
On Wed, Dec 11, 2024 at 12:41:40AM +0800, Cindy Lu wrote: The vhost now uses vhost_task and workers as a child of the owner thread. While this aligns with containerization principles,it confuses some legacy nit: missing space in "principles,it" userspace app, Therefore, we are reintroducing k

[PATCH v4 1/8] vhost: Add a new parameter in vhost_dev to allow user select kthread

2024-12-10 Thread Cindy Lu
The vhost now uses vhost_task and workers as a child of the owner thread. While this aligns with containerization principles,it confuses some legacy userspace app, Therefore, we are reintroducing kthread API support. Introduce a new parameter to enable users to choose between kthread and task mode