Skip to content

RFC Freezer face lifting

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Freezer: Introduce PF_FREEZER_NOSIGinclude/linux/freezer.h include/linux/sched.h kernel/kthread.c +1 more+54 -560 replies
1/2Freezer: Introduce PF_FREEZER_NOSIGinclude/linux/freezer.h include/linux/sched.h kernel/kthread.c +1 more+54 -568 replies
2/2Freezer: Try to handle killable tasksfs/nfs/inode.c fs/nfs/nfs3proc.c fs/nfs/nfs4proc.c +7 more+44 -712 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 0/2] Freezer face lifting

Hi,

Although the freezer is generally considered as a bad thing, it still is being used for suspend and hibernation and will be used for these purposes in the near future. For this reason, it seems reasonable to try to reduce some known problems with it. The following two patches attempt to do that.

First, it is the known weakness of the freezer that it tries to distinguish user space processes from kernel threads in a slightly artificial way. The first patch is intended to change that.

Second, in principle, the freezer can use the recently introduced TASK_KILLABLE state to handle some cases that it couldn't have handled previously, which is the purpose of the second patch.

Please review and tell me what you think.

Rafael

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