Re: [PATCH v6 4/6] vhost: introduce worker ops to support multiple thread models

2025-02-25 Thread Cindy Lu
On Mon, Feb 24, 2025 at 9:45 AM Jason Wang wrote: > > On Sun, Feb 23, 2025 at 11:41 PM Cindy Lu wrote: > > > > This commit restores the previously removed functions kthread_wakeup and > > kthread_stop, and introduces a new ops structure to handle worker wakeup, > > stop, and creation. The functio

Re: [PATCH v6 4/6] vhost: introduce worker ops to support multiple thread models

2025-02-23 Thread Jason Wang
On Sun, Feb 23, 2025 at 11:41 PM Cindy Lu wrote: > > This commit restores the previously removed functions kthread_wakeup and > kthread_stop, and introduces a new ops structure to handle worker wakeup, > stop, and creation. The function vhost_worker_create initializes these > ops pointers based on

[PATCH v6 4/6] vhost: introduce worker ops to support multiple thread models

2025-02-23 Thread Cindy Lu
This commit restores the previously removed functions kthread_wakeup and kthread_stop, and introduces a new ops structure to handle worker wakeup, stop, and creation. The function vhost_worker_create initializes these ops pointers based on the inherit_owner value. Signed-off-by: Cindy Lu --- dri