lkml.org 
[lkml]   [2011]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCHSET pm-freezer] freezer: fixes & simplifications
Date
Hello,

These six patches are fixes and simplifications for the recent freezer
changes. The first four have been posted twice. Changes since the
last posting[L] are

* freezer->state setting bug fix updated per Matt Helsley so that the
actual per-task freeze/thaw operations are always performed.

* fixed a bug caused by forgetting to unlock freezer_lock in "freezer:
restructure __refrigerator()".

* Two patches added. The fifth one is mostly trivial. The sixth a
bit more involved but still shouldn't cause any noticeable
functional difference. This removes the buggy and unused
freezable_with_signal.

Properly tested this time. As hera is still down, no git branch
available at this point. Patch list and diffstat follow.

Thanks.

[PATCH 1/6] cgroup_freezer: fix freezer->state setting bug in
[PATCH 2/6] freezer: set PF_NOFREEZE on a dying task right before
[PATCH 3/6] freezer: restructure __refrigerator()
[PATCH 4/6] freezer: use lock_task_sighand() in
[PATCH 5/6] freezer: remove unused @sig_only from freeze_task()
[PATCH 6/6] freezer: kill unused set_freezable_with_signal()

include/linux/freezer.h | 22 +------------
include/linux/sched.h | 1
kernel/cgroup_freezer.c | 18 +++++------
kernel/exit.c | 10 ++----
kernel/freezer.c | 78 ++++++++++++++++--------------------------------
kernel/kthread.c | 2 -
kernel/power/process.c | 8 ++--
7 files changed, 47 insertions(+), 92 deletions(-)

--
tejun

[L] http://thread.gmane.org/gmane.linux.kernel/1186387


\
 
 \ /
  Last update: 2011-09-02 20:31    [W:0.075 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site