Home
last modified time | relevance | path

Searched hist:"742 e8cd3" (Results 1 – 1 of 1) sorted by relevance

/linux/kernel/cgroup/
H A Dfreezer.c742e8cd3 Wed Oct 30 08:18:10 GMT 2019 Honglei Wang <honglei.wang@oracle.com> 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>