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

Alan Stern
2007-07-05T21:15:33Z

On Thu, 5 Jul 2007, Miklos Szeredi wrote:

> I fear, that your efforts to "save" the freezer are in vain. It is
> already moderately hackish with that PF_FREEZER_SKIP and the kernel
> dotted randomly with try_to_freeze() calls, but adding bandaids to try
> to order freezing userspace processes in the right order would just
> make it a horrible mess.

I agree that bandaids won't work. What's needed is something more
radical. Things like FUSE must be written so that the kernel parts
_can_ freeze even while they are waiting for a response from a user
thread.

Alan Stern