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

From: Srivatsa S. Bhat
Date: Mon Jan 30 2012 - 17:04:22 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.

This patchset applies on top of the patch posted at
https://lkml.org/lkml/2012/1/30/439

--
Srivatsa S. Bhat (4):
PM/Freezer: Make thaw_processes() thaw only userspace tasks
PM/Freezer: Use thaw_processes() and thaw_kernel_threads() correctly
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/