[PATCH v2 0/4] PM / Freezer: Fix the semantics of thaw_processes()and thaw_kernel_threads()

From: Srivatsa S. Bhat
Date: Mon Jan 30 2012 - 18:14:23 EST


With the introduction of thaw_kernel_threads(), we can now finally fix the
semantics of thawing tasks, in such a way as to be just the opposite of
how tasks are frozen. This opens up some opportunities for code cleanup
as well. This patchset implements both of these improvements.

v2: Interchanged the ordering of patches 1 and 2 and transferred a small
comment between them. No code changes.
--
Srivatsa S. Bhat (4):
PM/Freezer: Use thaw_kernel_threads() in preparation for changes to thaw_processes()
PM/Freezer: Make thaw_processes() thaw only userspace tasks
PM/Hibernate: Thaw kernel threads in hibernation_snapshot() in error/test path
PM/Hibernate: Refactor and simplify freezer_test_done


kernel/power/hibernate.c | 22 +++++++++++++++-------
kernel/power/power.h | 15 +++++++++++++--
kernel/power/process.c | 13 ++++++-------
kernel/power/user.c | 20 ++++++++++++--------
4 files changed, 46 insertions(+), 24 deletions(-)


Regards,
Srivatsa S. Bhat
IBM Linux Technology Center

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/