summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2009-07-08 13:23:51 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2009-09-14 20:26:58 +0200
commit4bb334353ebd821bc8eeabeb019eaac33c7307df (patch)
treefc827906f10eebaed4c0483b25beaaba70b0b1dc /virt
parente681c9dd62fe8fcc5bba28a3ca3f7dc8be940206 (diff)
downloadlinux-4bb334353ebd821bc8eeabeb019eaac33c7307df.tar.gz
linux-4bb334353ebd821bc8eeabeb019eaac33c7307df.tar.bz2
linux-4bb334353ebd821bc8eeabeb019eaac33c7307df.zip
PM/Hibernate: Rework shrinking of memory
Rework swsusp_shrink_memory() so that it calls shrink_all_memory() just once to make some room for the image and then allocates memory to apply more pressure to the memory management subsystem, if necessary. Unfortunately, we don't seem to be able to drop shrink_all_memory() entirely just yet, because that would lead to huge performance regressions in some test cases. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions