Hi. On Mon, 2009-05-25 at 14:43 +0200, Pavel Machek wrote: > > Oh, before I forget to mention and you ask - how to know what allowance > > for the drivers? I use a sysfs entry - the user then just needs to see > > what's needed on their first attempt, set up a means of putting that > > value in the sysfs file in future (eg /etc/hibernate/tuxonice.conf) and > > then forget about it. > > I do believe needed ammount of memory can differ between between > different suspend attempts. I'd say difference between no X, X w/ 3D, > X w/ active 3D could be significant. Yes, but people don't generally change their X configuration. There would certainly be less memory required without X, but it doesn't hurt to allow for too many pages being allocated. > Plus... swsusp gets without configuring that, and I'd prefer as little > tunables as possible. (In swsusp case, 4MB is reserved for drivers, > and it is a bug if they need more). Perhaps this is one of the causes of swsusp (and uswsusp) not working for people. 4MB is often enough, but often not enough. Actually, thinking some more about it, it's probably not a problem for swsusp and uswsusp simply because you have large amounts of memory free anyway. I agree that they probably shouldn't need more, but wouldn't call it a bug if more is requested - it's an arbitrary limit. Regards, Nigel _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm