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

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(-)

Srivatsa S. Bhat
IBM Linux Technology Center

 \ /
  Last update: 2012-01-30 23:07    [W:0.068 / U:3.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site