Skip to content

RFC Freezer update (updated)

Rafael J. Wysocki linux-pm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Freezer: Document relationship with memory shrinkingDocumentation/power/freezing-of-tasks.txt+11 -20 replies
2/7Freezer: Do not sync filesystems from freeze_processeskernel/power/disk.c kernel/power/main.c kernel/power/process.c +1 more+14 -11 reply
3/7Freezer: Prevent new tasks from inheriting TIF_FREEZE setkernel/fork.c+1 -01 reply
4/7Freezer: Introduce freezer-firendly waiting macrosdrivers/input/gameport/gameport.c drivers/input/serio/serio.c drivers/input/touchscreen/ucb1400_ts.c +4 more+45 -153 replies
4/7Freezer: Introduce freezer-firendly waiting macros (updated)drivers/input/gameport/gameport.c drivers/input/serio/serio.c drivers/input/touchscreen/ucb1400_ts.c +4 more+47 -150 replies
4/7Freezer: Introduce freezer-firendly waiting macros (updated 2x)drivers/input/gameport/gameport.c drivers/input/serio/serio.c drivers/input/touchscreen/ucb1400_ts.c +4 more+47 -150 replies
5/7Freezer: Do not send signals to kernel threads (updated)Documentation/power/freezing-of-tasks.txt kernel/power/process.c kernel/signal.c+93 -460 replies
6/7Freezer: Be more verbosekernel/power/process.c+10 -71 reply
6/7Freezer: Be more verbose (updated)kernel/power/process.c+9 -60 replies
7/7Freezer: Use freezing timeout more efficientlykernel/power/process.c+70 -142 replies
7/7Freezer: Use freezing timeout more efficiently (updated)kernel/power/process.c+72 -140 replies

Reviews trailers per patch

4 of 11 patches have a Reviewed-by or Acked-by.

PatchPavel MachekNigel Cunningham
1/7A-b
2/7
3/7A-b A-b
4/7
4/7
4/7
5/7
6/7A-b
6/7A-b
7/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC][PATCH -mm 0/7] Freezer update (updated)

Hi,

This is the second "release" of my latest freezer update. I have updated the patches to take your comments into account (thanks a lot for them) and changed their ordering.

The patches in these series update the freezer to eliminate some existing shortcomings, so I'm still considering them as 2.6.23 material.

The patches do the following:
* update the freezer documentation to describe, previously omitted, important reason for freezing tasks (ie. memory shrinking)
* remove sys_sync() from the freezer and make the suspend/hibernation code invoke it explicitly
* prevent new tasks from inheriting TIF_FREEZE set from the parents
* introduce freezer-firendly wrappers around wait_event_interruptible() and wait_event_interruptible_timeout()
* prevent the freezer from sending signals to kernel threads
* increase the verbosity of the freezer slightly
* make the freezer use the freezing timeout more efficiently
The details are in the changelogs.

Comments welcome.

Greetings,
Rafael

Signature · 1 line
"Premature optimization is the root of all evil." - Donald Knuth