The patch titled container freezer: skip frozen cgroups during power management resume has been added to the -mm tree. Its filename is container-freezer-skip-frozen-cgroups-during-power-management-resume.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: container freezer: skip frozen cgroups during power management resume From: Matt Helsley <matthltc@xxxxxxxxxx> When a system is resumed after a suspend, it will also unfreeze frozen cgroups. This patchs modifies the resume sequence to skip the tasks which are part of a frozen control group. Signed-off-by: Cedric Le Goater <clg@xxxxxxxxxx> Signed-off-by: Matt Helsley <matthltc@xxxxxxxxxx> Acked-by: Serge E. Hallyn <serue@xxxxxxxxxx> Tested-by: Matt Helsley <matthltc@xxxxxxxxxx> Acked-by: Rafael J. Wysocki <rjw@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/power/process.c | 3 +++ 1 file changed, 3 insertions(+) diff -puN kernel/power/process.c~container-freezer-skip-frozen-cgroups-during-power-management-resume kernel/power/process.c --- a/kernel/power/process.c~container-freezer-skip-frozen-cgroups-during-power-management-resume +++ a/kernel/power/process.c @@ -135,6 +135,9 @@ static void thaw_tasks(bool nosig_only) if (nosig_only && should_send_signal(p)) continue; + if (cgroup_frozen(p)) + continue; + thaw_process(p); } while_each_thread(g, p); read_unlock(&tasklist_lock); _ Patches currently in -mm which might be from matthltc@xxxxxxxxxx are container-freezer-add-tif_freeze-flag-to-all-architectures.patch container-freezer-make-refrigerator-always-available.patch container-freezer-implement-freezer-cgroup-subsystem.patch container-freezer-implement-freezer-cgroup-subsystem-checkpatch-fixes.patch container-freezer-skip-frozen-cgroups-during-power-management-resume.patch container-freezer-prevent-frozen-tasks-or-cgroups-from-changing.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html