lkml.org 
[lkml]   [2012]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] PM / Freezer: Fix the semantics of thaw_processes() and thaw_kernel_threads()
Date
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



\
 
 \ /
  Last update: 2012-01-31 00:17    [W:0.132 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site