On Sun, Jul 22, 2007 at 10:09:50PM +0300, Alon Bar-Lev wrote:
> > These s2ram_* funcs in the end call code from vbetool/vbetool.c which
> > is indeed linked in. But partly I remembered it wrongly. The hacks
> > _before_ suspend are called with an unfrozen userspace, those after on
> > a frozen userspace.
> 
> So these hacks can be removed from suspend code... And moved into the
> hibernate-script or pm-utils.

No they can't. Because e.g. vbe_save returns a pointer to the contents of
the VBE buffer which is later used for vbe_restore and thus we don't need a
temporary file (which, again, might need a working disk, which you cannot
always assume if you start getting a new machine ready for suspending).

Anyway, i think you are just trolling from here on.
-- 
Stefan Seyfried
QA / R&D Team Mobile Devices        |              "Any ideas, John?"
SUSE LINUX Products GmbH, Nürnberg  | "Well, surrounding them's out." 

This footer brought to you by insane German lawmakers:
SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to