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

From: Paolo Bonzini
Date: Thu Feb 17 2022 - 11:06:01 EST


On 2/17/22 13:34, kernel test robot wrote:
5859 reattach_err = cgroup_attach_task_all(current->real_parent, current);

This needs to be within rcu_dereference().

Paolo

5860 if (reattach_err) {
5861 kvm_err("%s: cgroup_attach_task_all failed on reattach with err %d\n",
5862 __func__, reattach_err);
5863 }
5864 return err;
5865 }
5866

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx