lkml.org 
[lkml]   [2007]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 128/197] freezer: add try_to_freeze calls to all kernel threads
Pavel Machek wrote:
>> > Add try_to_freeze() calls to the remaining kernel threads that do not call
>> > try_to_freeze() already, although they set PF_NOFREEZE.
>> >
>> > In the future we are going to replace PF_NOFREEZE with a set of flags that
>> > will be set to indicate in which situations the task should not be frozen (for
>> > example, there can be a task that should be frozen for the CPU hotplugging and
>> > should not be frozen for the system suspend).
[...]
>> Why add no-op-try_to_freeze() everywhere now, instead of adding it later
>> when it will actually be needed? (I.e. "in the future".)
>
> It is needed later in the patch series... for kprobes, etc.

So does freezer_exempt() still do what its name says, or does it
freezer_exempt_but_not_always() now?
--
Stefan Richter
-=====-=-=== -=-= -=--=
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-09 14:09    [W:0.160 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site