Messages in this thread | | | From | "Srivatsa S. Bhat" <> | Subject | [PATCH v2 0/4] PM / Freezer: Fix the semantics of thaw_processes() and thaw_kernel_threads() | Date | Tue, 31 Jan 2012 04:44:11 +0530 |
| |
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
| |