Re: [PATCH v6 3/6] vhost: Add the cgroup related function

2025-02-25 Thread Cindy Lu
On Mon, Feb 24, 2025 at 9:40 AM Jason Wang wrote: > > On Sun, Feb 23, 2025 at 11:41 PM Cindy Lu wrote: > > > > 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(). > > > > R

Re: [PATCH v6 3/6] vhost: Add the cgroup related function

2025-02-24 Thread kernel test robot
rnel.org/r/20250223154042.556001-4-lulu%40redhat.com patch subject: [PATCH v6 3/6] vhost: Add the cgroup related function config: x86_64-buildonly-randconfig-002-20250224 (https://download.01.org/0day-ci/archive/20250225/202502251038.6ulcimjy-...@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduc

Re: [PATCH v6 3/6] vhost: Add the cgroup related function

2025-02-23 Thread Jason Wang
On Sun, Feb 23, 2025 at 11:41 PM Cindy Lu wrote: > > 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(). > > Reuse the function __vhost_worker_flush, but in this situation, the

[PATCH v6 3/6] vhost: Add the cgroup related function

2025-02-23 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_attach_task_to_cgroups(). Reuse the function __vhost_worker_flush, but in this situation, the attachment_cnt is 0. Therefore, add a boolean to disable this