Re: [PATCH] Remove process freezer from suspend to RAM pathway

Rafael J. Wysocki
2007-07-08T19:08:16Z

On Sunday, 8 July 2007 07:14, Benjamin Herrenschmidt wrote:
[--snip--]
>
> I just think that the freezer approach, as it is, is backward. We can't
> have a 3rd party try to discriminate what to freeze and what not, it
> will always get something wrong, and in some cases with the wrong timing
> or ordering.

Nice discussion, except for one thing: the freezer doesn't decide what to
freeze. For example, even right now kernel threads decide if they want to be
frozen.

Greetings,
Rafael

--
"Premature optimization is the root of all evil." - Donald Knuth