Re: [PATCH v3 5/9] vhost: Add kthread support in function vhost_worker_queue()

2024-11-07 Thread Dan Carpenter
Cindy-Lu/vhost-Add-a-new-parameter-to-allow-user-select-kthread/20241105-153254 > base: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git > linux-next > patch link: > https://lore.kernel.org/r/20241105072642.898710-6-lulu%40redhat.com > patch subject: [PATCH v3 5/9]

Re: [PATCH v3 5/9] vhost: Add kthread support in function vhost_worker_queue()

2024-11-07 Thread Dan Carpenter
://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next patch link: https://lore.kernel.org/r/20241105072642.898710-6-lulu%40redhat.com patch subject: [PATCH v3 5/9] vhost: Add kthread support in function vhost_worker_queue() config: x86_64-randconfig-161-20241106 (https://download.01.org/0day

Re: [PATCH v3 5/9] vhost: Add kthread support in function vhost_worker_queue()

2024-11-05 Thread Jason Wang
On Tue, Nov 5, 2024 at 3:27 PM Cindy Lu wrote: > > The function vhost_worker_queue() uses vhost_task_fn and > selects the different mode based on the value of inherit_owner. > > Signed-off-by: Cindy Lu > --- > drivers/vhost/vhost.c | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) >

[PATCH v3 5/9] vhost: Add kthread support in function vhost_worker_queue()

2024-11-04 Thread Cindy Lu
The function vhost_worker_queue() uses vhost_task_fn and selects the different mode based on the value of inherit_owner. Signed-off-by: Cindy Lu --- drivers/vhost/vhost.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index