From: Rafael J. Wysocki Date: Mon, 14 Mar 2011 23:45:46 +0000 (+0100) Subject: PM / Hibernate: Reduce autotuned default image size X-Git-Tag: v2.6.39-rc1~484^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bea3864fb627d110933cfb8babe048b63c4fc76e;p=pandora-kernel.git PM / Hibernate: Reduce autotuned default image size The hibernate image size autotuning mechanism sets the default image size to 5/2 of the total system RAM, but it is reported that on some systems device drivers allocate substantial amounts of memory during suspend and the creation of the image fails as a result (too little memory is preallocated). Modify the autotuning mechanism to use 1/3 instead of 2/5 of RAM as the default image size, which is reported to be sufficient for the affected systems. References: https://bugzilla.kernel.org/show_bug.cgi?id=30482 Reported-and-tested-by: Martin Steigerwald Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed