On Mon, Feb 24, 2025 at 9:40 AM Jason Wang <jasow...@redhat.com> wrote: > > On Sun, Feb 23, 2025 at 11:41 PM Cindy Lu <l...@redhat.com> 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 > > attachment_cnt is 0. Therefore, add a boolean to disable this check. > > > > How about just tweaking its value to INT_MAX so we can avoid this new > parameter? > > Thanks > sure, will change this thanks cindy
- [PATCH v6 0/6] vhost: Add support of kthread API Cindy Lu
- [PATCH v6 1/6] vhost: Add a new parameter in vhost... Cindy Lu
- [PATCH v6 3/6] vhost: Add the cgroup related funct... Cindy Lu
- Re: [PATCH v6 3/6] vhost: Add the cgroup relat... Jason Wang
- Re: [PATCH v6 3/6] vhost: Add the cgroup r... Cindy Lu
- Re: [PATCH v6 3/6] vhost: Add the cgroup relat... kernel test robot
- [PATCH v6 2/6] vhost: Reintroduce vhost_worker to ... Cindy Lu
- [PATCH v6 4/6] vhost: introduce worker ops to supp... Cindy Lu
- [PATCH v6 5/6] vhost: Add new UAPI to support chan... Cindy Lu
- Re: [PATCH v6 5/6] vhost: Add new UAPI to supp... Jason Wang
- Re: [PATCH v6 5/6] vhost: Add new UAPI to supp... Michael S. Tsirkin
- Re: [PATCH v6 5/6] vhost: Add new UAPI to supp... Michael S. Tsirkin