From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Pavel Machek <pavel@ucw.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>,
"Linux-pm mailing list" <linux-pm@lists.linux-foundation.org>
Subject: Re: 2.6.37-rc1+: hibernate regression, claims not enough swap space
Date: Mon, 15 Nov 2010 23:26:44 +0100 [thread overview]
Message-ID: <201011152326.44357.rjw@sisk.pl> (raw)
In-Reply-To: <20101114052138.GB2189@elf.ucw.cz>
On Sunday, November 14, 2010, Pavel Machek wrote:
> Hi!
Hi,
> ...but there's enough -- or at least it was enough to fit previous
> versions. 32-bit machine, so it has highmem.
>
> System is in console mode, very lightly loaded.
>
> Mem: 2054716k total, 736548k used, 1318168k free, 15368k buffers
> Swap: 779148k total, 2360k used, 776788k free, 546388k cached
Well, the swap is rather in short supply. Below the 50% of RAM recommendation.
> thinkpad_acpi: ACPI backlight control delay disabled
> PM: thaw of devices complete after 539.577 msecs
> PM: writing image.
> PM: Free swap pages: 194166
> PM: Not enough free swap
> Restarting tasks ...
>
> Aha, and it is the new default /sys/power/image_size .. setting it to
> 0 lets machine hibernate. I guess the new default is very wrong for
> highmem machine...
The old default did the wrong thing for everyone with sufficient swap (it made
the OOM code trigger every time while preparing to create an image), so I think
the new one it's better overall.
Thanks,
Rafael
next prev parent reply other threads:[~2010-11-15 22:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-14 5:21 2.6.37-rc1+: hibernate regression, claims not enough swap space Pavel Machek
2010-11-15 22:26 ` Rafael J. Wysocki [this message]
2010-11-16 5:26 ` Pavel Machek
2010-11-16 5:32 ` Pavel Machek
2010-11-16 22:28 ` Rafael J. Wysocki
2010-11-16 22:27 ` Rafael J. Wysocki
2010-11-17 21:19 ` Pavel Machek
2010-11-17 23:18 ` Rafael J. Wysocki
2010-11-17 23:38 ` Pavel Machek
2010-11-18 12:43 ` Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201011152326.44357.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox