summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup_pids.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2015-12-03 10:18:21 -0500
committerTejun Heo <tj@kernel.org>2015-12-03 10:18:21 -0500
commit599c963a0f19b14132065788322207eaa58bc7f8 (patch)
treeb52ebb214fb8c1e7ba13494b0d7b5ad9d8a4846d /kernel/cgroup_pids.c
parentafbcb364bee9e7cf46c94257a82cb9760b6d254f (diff)
downloadlinux-599c963a0f19b14132065788322207eaa58bc7f8.tar.gz
linux-599c963a0f19b14132065788322207eaa58bc7f8.tar.bz2
linux-599c963a0f19b14132065788322207eaa58bc7f8.zip
cgroup_freezer: simplify propagation of CGROUP_FROZEN clearing in freezer_attach()
If one or more tasks get moved into a frozen css, the frozen state is cleared up from the destination css so that it can be reasserted once the migrated tasks are frozen. freezer_attach() implements this in two separate steps - clearing CGROUP_FROZEN on the target css while processing each task and propagating the clearing upwards after the task loop is done if necessary. This patch merges the two steps. Propagation now takes place inside the task loop. This simplifies the code and prepares it for the fix of multi-destination migration. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup_pids.c')
0 files changed, 0 insertions, 0 deletions