…
> +++ b/drivers/vhost/vhost.c
…
> +static int vhost_attach_task_to_cgroups(struct vhost_worker *worker)
> +{
…
> + vhost_worker_queue(worker, &attach.work);
> +
> + mutex_lock(&worker->mutex);
…
> + mutex_unlock(&worker->mutex);
> +
> + return attach.ret;
> +}
…
Under which circu
On Fri, Mar 28, 2025 at 06:02:47PM +0800, Cindy Lu wrote:
Add back the previously removed cgroup function to support the kthread
nit: Missing . at the end
The biggest change for this part is in vhost_attach_cgroups() and
vhost_attach_task_to_cgroups().
The old function was remove in
nit: s
Add back the previously removed cgroup function to support the kthread
The biggest change for this part is in vhost_attach_cgroups() and
vhost_attach_task_to_cgroups().
The old function was remove in
commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads")
Signed-off-by: Cindy Lu
---
d
3 matches
Mail list logo