summaryrefslogtreecommitdiffstats
path: root/kernel/spinlock.c
diff options
context:
space:
mode:
authorBarry Song <Baohua.Song@csr.com>2012-01-09 12:56:23 +0800
committerRafael J. Wysocki <rjw@sisk.pl>2012-01-14 00:41:37 +0100
commitee34a37049114303011e154478c63b977bcff24c (patch)
treeb33342752535473f07742206395049233579d12b /kernel/spinlock.c
parenta029db43986e23677498ab4d84bb61b05de83484 (diff)
PM / Hibernate: Drop the check of swap space size for compressed image
For compressed image, the space required is not known until we finish compressing and writing all pages. This patch drops the check, and if swap space is not enough finally, system can still restore to normal after writing swap fails for compressed images. Signed-off-by: Barry Song <Baohua.Song@csr.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/spinlock.c')
0 files changed, 0 insertions, 0 deletions