aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-03-15 00:45:46 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2011-03-15 00:45:46 +0100
commitbea3864fb627d110933cfb8babe048b63c4fc76e (patch)
tree00cbe0edef293227d1cc441eab75ad1ded992df8 /include/linux/device.h
parentPM / Core: Introduce struct syscore_ops for core subsystems PM (diff)
downloadlinux-dev-bea3864fb627d110933cfb8babe048b63c4fc76e.tar.xz
linux-dev-bea3864fb627d110933cfb8babe048b63c4fc76e.zip
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 <Martin@Lichtvoll.de> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'include/linux/device.h')
0 files changed, 0 insertions, 0 deletions