Skip to content

RFC Separate freezer flags

Rafael J. Wysocki lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 29 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Separate freezer from PM codearch/arm/Kconfig arch/avr32/Kconfig.debug arch/blackfin/Kconfig +16 more+296 -2271 reply
2/3freezer: Introduce freezer_flagsDocumentation/power/kernel_threads.txt Documentation/power/swsusp.txt arch/i386/kernel/apm.c +27 more+82 -5719 replies
3/3freezer: Fix problem with kthread_stopkernel/kthread.c+9 -09 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC][PATCH -mm 0/3] Separate freezer flags

Hi,

The following three patches are related to the separation of the freezer flags from process/threadinfo flags.

The first patch separates the freezer from the PM code, because it's no longer a PM-specific piece of code. This also makes the second patch look better.

The second patch introduces the freezer_flags field of task_struct, present only if the freezer is compiled in. All of the freezer-related flags per-task flags are moved to this field and auxiliary functions for operating them are defined in freezer.h . This overlaps with the Gautham's work to some extent, but I think it's better to introduce these changes independently of the CPU hotplug code.

The third patch is a bonus. ;-)

Greetings,
Rafael