diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-09-20 13:44:56 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-10-16 19:57:43 -0400 |
commit | ac5c24ec1e983313ef0015258fba6f630e54e7cf (patch) | |
tree | 0bd6e99ece68f27b322033fd2ecaea3fa2d9e369 /Documentation/power | |
parent | 266f1a25eff5ff98c498d7754a419aacfd88f71c (diff) |
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 <rjw@sisk.pl>
Tested-by: M. Vefa Bicakci <bicave@superonline.com>
Diffstat (limited to 'Documentation/power')
-rw-r--r-- | Documentation/power/interface.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/power/interface.txt b/Documentation/power/interface.txt index e67211fe0ee2..c537834af005 100644 --- a/Documentation/power/interface.txt +++ b/Documentation/power/interface.txt | |||
@@ -57,7 +57,7 @@ smallest image possible. In particular, if "0" is written to this file, the | |||
57 | suspend image will be as small as possible. | 57 | suspend image will be as small as possible. |
58 | 58 | ||
59 | Reading from this file will display the current image size limit, which | 59 | Reading from this file will display the current image size limit, which |
60 | is set to 500 MB by default. | 60 | is set to 2/5 of available RAM by default. |
61 | 61 | ||
62 | /sys/power/pm_trace controls the code which saves the last PM event point in | 62 | /sys/power/pm_trace controls the code which saves the last PM event point in |
63 | the RTC across reboots, so that you can debug a machine that just hangs | 63 | the RTC across reboots, so that you can debug a machine that just hangs |