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

Oliver Neukum
2007-07-06T07:30:20Z

Am Freitag, 6. Juli 2007 schrieb Benjamin Herrenschmidt:
>
> > There is that.
> >
> > OK, bite the bullet. Tasks involved in fuse are special. Give them a flag
> > and teach the freezer to put them on ice only after all other task are
> > frozen. In a way they are kernel, there's no use denying that.
>
> Yet another ugly hack to work around the fact that the freezer cannot
> work reliably ... yuck
>
> Why not spend that energy fixing drivers to properly block requests
> instead ?

Because we will be unable to escape that job. Let's assume that
we remove the freezer from the STR path. The next complaint would
be that we cannot do STD with fuse. "Then don't do that" would not
be taken kindly as answer.

So we would be under pressure to remove the freezer from STD, too,
or find a way to make the freezer work. If we'd have to make the freezer
work anyway, we can do it right now.

Regards
Oliver