Re: [PATCH v6 2/6] vhost: Reintroduce vhost_worker to support kthread

From: Jason Wang
Date: Sun Feb 23 2025 - 20:37:55 EST


On Sun, Feb 23, 2025 at 11:41 PM Cindy Lu <lulu@xxxxxxxxxx> wrote:
>
> Add the previously removed function vhost_worker() back
> to support the kthread and rename it to vhost_run_work_kthread_list.
>
> The old function vhost_worker was change to support task in
> commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads")
> change to xarray in
> commit 1cdaafa1b8b4 ("vhost: replace single worker pointer with xarray")
>
> Signed-off-by: Cindy Lu <lulu@xxxxxxxxxx>

Acked-by: Jason Wang <jasowang@xxxxxxxxxx>

Thanks