Re: [PATCH] Freeze bdevs when freezing processes.

From: Pavel Machek
Date: Tue Oct 24 2006 - 03:59:31 EST


Hi!

> > Apparently uswsusp has gained support for S3 while the in-kernel driver
> > does not support S3. That's disappointing.
>
> I'm still not sure why that's an especially desirable feature. Every
> laptop I've played with will automatically resume from S3 when the
> battery level becomes critical, which gives you the opportunity to
> suspend to disk. And when it doesn't, you can generally emulate it using
> the ACPI alarm to wake up. Is there really a significant quantity of
> hardware out there that doesn't support either of these?

Well, there are reasons *against* your implementation:

1) waking laptop at random time (737 taking off?) may be dangerous for
the laptop (and its surroundings)

2) old li-ions are probably able to keep laptop suspended for 20
hours, but will die if you attempt to resume after 10 hours of sleep
without ac power.

That said, patch for 's2ram, wakeup on battery low' for uswsusp would
be welcome.
Pavel
--
Thanks for all the (sleeping) penguins.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/