On Mon, Oct 09, 2006 at 12:17:57AM +0200, Luca Tettamanti wrote: > Il Sun, Oct 08, 2006 at 08:33:37PM +0200, Stefan Seyfried ha scritto: > > Can you try this patch: > > Index: s2ram.c > =================================================================== > RCS file: /cvsroot/suspend/suspend/s2ram.c,v > retrieving revision 1.45 > diff -u -r1.45 s2ram.c > --- s2ram.c 20 Sep 2006 16:23:51 -0000 1.45 > +++ s2ram.c 8 Oct 2006 22:04:21 -0000 > @@ -10,6 +10,7 @@ > #include <getopt.h> > #include <errno.h> > #include <string.h> > +#include <sys/mman.h> > > #define S2RAM > #include "vbetool/vbetool.h" > @@ -326,6 +327,8 @@ > usage(); > } > > + mlockall(MCL_CURRENT | MCL_FUTURE);
I'm pretty sure i tried this, but it did not help. I am on the train right now, so can't test, but will look at it this afternoon. I basically went the "do everything exactly the same in s2ram like in s2disk/s2both", (that's where the idea for the console refactoring come from :-) but it did not help. -- Stefan Seyfried | "Please, just tell people QA / R&D Team Mobile Devices | to use KDE." SUSE LINUX Products GmbH, Nürnberg | -- Linus Torvalds ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel