[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dc1e2d11-dbb0-e2d1-bdf0-b38a9b90bea7@redhat.com>
Date: Wed, 16 Feb 2022 20:48:43 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: Vipin Sharma <vipinsh@...gle.com>,
Michal Koutný <mkoutny@...e.com>
Cc: Tejun Heo <tj@...nel.org>, seanjc@...gle.com,
lizefan.x@...edance.com, hannes@...xchg.org, dmatlack@...gle.com,
jiangshanlai@...il.com, kvm@...r.kernel.org,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] KVM: Move VM's worker kthreads back to the original
cgroups before exiting.
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
Powered by blists - more mailing lists