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

Benjamin Herrenschmidt
2007-07-09T10:05:22Z

On Mon, 2007-07-09 at 12:02 +0200, Pavel Machek wrote:
> Hi!
>
> > > > But I'm not sure it's a good idea in the long run. Think of a printer
> > > > daemon, for example. It shouldn't have to experience unexpected I/O
> > > > problems merely because someone has decided to put the system to sleep.
> > >
> > > Why not ? Printer is offline when machine is asleep... trying to print
>
> ...filesystems are offline, too, when the machine is asleep. Yet,
> unmounting everything on suspend would not result in useful suspend
> support.
>
> Yes, I believe we should be transparent.

You just compared apple and oranges... Try printing and half way through
the page, suspend your USB bus, and see how the printer reacts.

Ben.