container freezer: skip frozen cgroups during power management resume
[linux-2.6.git] / kernel / power / process.c
index 444cea8..ca63401 100644 (file)
@@ -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);