Re: [RFC][PATCH][EXPERIMENTAL] Make kernel threads nonfreezable by default

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: LKML <linux-kernel@...>
Cc: Andrew Morton <akpm@...>, Gautham R Shenoy <ego@...>, Linus Torvalds <torvalds@...>, Nigel Cunningham <nigel@...>, Oleg Nesterov <oleg@...>, Pavel Machek <pavel@...>, Maximilian Engelhardt <maxi@...>, Herbert Xu <herbert@...>
Date: Monday, May 28, 2007 - 4:09 am

On Sunday, 27 May 2007 00:12, Rafael J. Wysocki wrote:

Does the lack of comments mean that everyone on the CC list agrees with this
approach? ;-)

In the meantime, it turns out that this patch fixes the hibernation/suspend
problem with cryptd discussed in the thread at
http://lkml.org/lkml/2007/5/26/24 .

The problem is that cryptd doesn't call try_to_freeze() and doesn't set
PF_NOFREEZE for itself, so the freezer cannot handle it properly.  In principle
we can add either try_to_freeze() or the setting of PF_NOFREEZE to it, but if
the approach in the $subject patch is acceptable, we'll need to remove that
soon.  So, what should we do?

Rafael

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH][EXPERIMENTAL] Make kernel threads nonfreezable ..., Rafael J. Wysocki, (Sat May 26, 6:12 pm)
Re: [RFC][PATCH][EXPERIMENTAL] Make kernel threads nonfreeza..., Rafael J. Wysocki, (Mon May 28, 2:11 pm)
Re: [RFC][PATCH][EXPERIMENTAL] Make kernel threads nonfreeza..., Rafael J. Wysocki, (Tue May 29, 8:15 am)
Re: [RFC][PATCH][EXPERIMENTAL] Make kernel threads nonfreeza..., Rafael J. Wysocki, (Tue May 29, 5:55 pm)
Re: [RFC][PATCH][EXPERIMENTAL] Make kernel threads nonfreeza..., Rafael J. Wysocki, (Tue May 29, 6:13 pm)
Re: [RFC][PATCH][EXPERIMENTAL] Make kernel threads nonfreeza..., Rafael J. Wysocki, (Mon May 28, 2:17 pm)
[RFC][PATCH -mm] Freezer: Make kernel threads nonfreezable b..., Rafael J. Wysocki, (Wed May 30, 6:01 pm)
Re: [RFC][PATCH][EXPERIMENTAL] Make kernel threads nonfreeza..., Rafael J. Wysocki, (Mon May 28, 6:51 pm)
Re: [RFC][PATCH][EXPERIMENTAL] Make kernel threads nonfreeza..., Rafael J. Wysocki, (Mon May 28, 4:09 am)
Re: [RFC][PATCH][EXPERIMENTAL] Make kernel threads nonfreeza..., Rafael J. Wysocki, (Mon May 28, 2:11 pm)