Andi, Please consider the following patch to hibernate code for 2.6.35 stable tree, this hibernate patch fixes hibernate issues we are seeing on some of the Lenovo systems. (Please note I added the 2nd commit only because it adds clarity to the code, you can drop that one if like.)
http://launchpad.net/bugs/737208. commit ac5c24ec1e983313ef0015258fba6f630e54e7cf Author: Rafael J. Wysocki <[email protected]> Date: Mon Sep 20 19:44:56 2010 +0200 PM / Hibernate: Make default image size depend on total RAM size The default hibernation image size is currently hard coded and euqal to 500 MB, which is not a reasonable default on many contemporary systems. Make it equal 2/5 of the total RAM size (this is slightly below the maximum, i.e. 1/2 of the total RAM size, and seems to be generally suitable). Signed-off-by: Rafael J. Wysocki <[email protected]> Tested-by: M. Vefa Bicakci <[email protected]> commit 266f1a25eff5ff98c498d7754a419aacfd88f71c Author: Rafael J. Wysocki <[email protected]> Date: Mon Sep 20 19:44:38 2010 +0200 PM / Hibernate: Improve comments in hibernate_preallocate_memory() One comment in hibernate_preallocate_memory() is wrong, so fix it and add one more comment to clarify the meaning of the fixed one. Signed-off-by: Rafael J. Wysocki <[email protected]> ----------------------------------------------------- Manoj Iyer Ubuntu/Canonical Hardware Enablement Team ------------------------------------------------------ _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
