Skip to content

Freezer: Use wait queue instead of busy looping

Rafael J. Wysocki linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Freezer: Be more verbosekernel/power/process.c+9 -60 replies
2/3Freezer: Use wait queue instead of busy loopingkernel/power/process.c+33 -13 replies
2/3Freezer: Use wait queue instead of busy looping (updated)kernel/power/process.c+25 -110 replies
2/3Freezer: Use wait queue instead of busy looping (updated)kernel/power/process.c+25 -10 replies
2/3Freezer: Use wait queue instead of busy looping (updated)kernel/power/process.c+25 -10 replies
3/3Freezer: Measure freezing timekernel/power/process.c+15 -32 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchNigel CunninghamPavel Machek
1/3A-b A-b
2/3A-b
2/3A-b
2/3A-b
2/3A-b
3/3A-b

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

Read the v1 thread

Cover letter [PATCH -mm 0/3] Freezer: Use wait queue instead of busy looping

Hi,

The patches in the next three messages do the following:
* make the freezer a bit more verbose
* make try_to_freeze_tasks() go to sleep while waiting for tasks to enter the refrigerator instead of busy looping
* make try_to_freeze_tasks() measure the time of freezing, regardless of whether or not it is successful

Greetings,
Rafael

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