aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/cgroup
diff options
context:
space:
mode:
authorHonglei Wang <honglei.wang@oracle.com>2019-10-30 16:18:10 +0800
committerTejun Heo <tj@kernel.org>2019-11-07 07:38:41 -0800
commit742e8cd3e1ba6f19cad6d912f8d469df5557d0fd (patch)
tree99d8abb0bd131643d1ecd1266f4865029106578f /tools/testing/selftests/cgroup
parentcgroup: use cgroup->last_bstat instead of cgroup->bstat_pending for consistency (diff)
downloadlinux-dev-742e8cd3e1ba6f19cad6d912f8d469df5557d0fd.tar.xz
linux-dev-742e8cd3e1ba6f19cad6d912f8d469df5557d0fd.zip
cgroup: freezer: don't change task and cgroups status unnecessarily
It's not necessary to adjust the task state and revisit the state of source and destination cgroups if the cgroups are not in freeze state and the task itself is not frozen. And in this scenario, it wakes up the task who's not supposed to be ready to run. Don't do the unnecessary task state adjustment can help stop waking up the task without a reason. Signed-off-by: Honglei Wang <honglei.wang@oracle.com> Acked-by: Roman Gushchin <guro@fb.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/testing/selftests/cgroup')
0 files changed, 0 insertions, 0 deletions