[RESEND PATCH v1 5/7] vhost: Add the cgroup related function

2024-09-08 Thread Cindy Lu
Add back the previously removed cgroup function to support the kthread The biggest change for this part is in vhost_attach_cgroups() and vhost_worker_cgroups_kthread(). This is because of the change in struct dev->worker_xa. The old function was remove in commit 6e890c5d5021 ('vhost: use vhost_tas

[PATCH v1 5/7] vhost: Add the cgroup related function

2024-09-08 Thread Cindy Lu
Add back the previously removed cgroup function to support the kthread The biggest change for this part is in vhost_attach_cgroups() and vhost_worker_cgroups_kthread(). This is because of the change in struct dev->worker_xa. The old function was remove in commit 6e890c5d5021 ('vhost: use vhost_tas