Re: [PATCH v2] KVM: Move VM's worker kthreads back to the original cgroups before exiting.

Paolo Bonzini
2022-02-16T19:48:53Z

On 2/16/22 18:37, Vipin Sharma wrote:
> Paolo:
> Will you accept a patch which uses real_parent in
> kvm_vm_worker_thread() as suggested by Sean, while I figure out the
> recommendation from Michal about making kthread_stop() wait on
> kernel_wait()?
> cgroup_attach_task_all(current->real_parent, current)

Yes, of course.

Paolo