From: Rafael J. Wysocki Date: Mon, 20 Sep 2010 17:44:56 +0000 (+0200) Subject: PM / Hibernate: Make default image size depend on total RAM size X-Git-Tag: v2.6.37-rc1~185^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac5c24ec1e983313ef0015258fba6f630e54e7cf;p=pandora-kernel.git 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 Tested-by: M. Vefa Bicakci --- Reading git-diff-tree failed