From: Bojan Smojver <bojan@rexursive.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: linux-kernel@vger.kernel.org,
Linux PM list <linux-pm@vger.kernel.org>,
Per Olofsson <pelle@debian.org>
Subject: Re: [PATCH v8]: Hibernation: lower/better control the amount of pages used for buffering
Date: Tue, 10 Apr 2012 12:25:54 +1000 [thread overview]
Message-ID: <1334024754.2103.9.camel@shrek.rexursive.com> (raw)
In-Reply-To: <2cbc3801-3ab0-4ef6-84cd-d69a23ff4dcc@email.android.com>
On Sun, 2012-04-08 at 10:14 +1000, Bojan Smojver wrote:
> Please ignore this request. As it turns out, the hangs are still
> there, it just takes a bit longer to trigger.
Thanks to Per Olofsson, who actually determined what was going on, we
now know what the problem is.
My "free pages" maths used nr_free_pages() macro, which deals with all
free pages. However, we only allocate buffers from non-high zones. So,
on systems where there is a significant number of high pages free, we
get a very large number (even if only a quarter is used), which then
gets the kernel into a bind and eventually hangs it on page allocation.
Will send a patch shortly, which will also have some other fixes.
--
Bojan
prev parent reply other threads:[~2012-04-10 2:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-03 2:02 [PATCH v8]: Hibernation: lower/better control the amount of pages used for buffering Bojan Smojver
2012-04-03 4:31 ` Rafael J. Wysocki
2012-04-03 5:53 ` Bojan Smojver
2012-04-05 10:15 ` Bojan Smojver
2012-04-08 0:14 ` Bojan Smojver
2012-04-10 2:25 ` Bojan Smojver [this message]
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=1334024754.2103.9.camel@shrek.rexursive.com \
--to=bojan@rexursive.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=pelle@debian.org \
--cc=rjw@sisk.pl \
/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