From: Bojan Smojver <bojan@rexursive.com>
To: Per Olofsson <pelle@debian.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v9]: Hibernation: fix the number of pages used for hibernate/thaw buffering
Date: Tue, 10 Apr 2012 19:27:14 +1000 [thread overview]
Message-ID: <1334050034.2178.5.camel@shrek.rexursive.com> (raw)
In-Reply-To: <4F83FBD6.6030104@debian.org>
On Tue, 2012-04-10 at 11:22 +0200, Per Olofsson wrote:
> If you don't have any high pages (e.g. x86_64), then
> nr_free_highpages() is defined to be 0 and is optimized away
> completely.
Yeah, we could do that in the patch too.
> Still, it seems you are not calculating free pages that often anymore
> so it should not matter much.
True. We call this a couple of orders of magnitude less times, so it
won't have noticeable affect on speed either way.
--
Bojan
prev parent reply other threads:[~2012-04-10 9:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-10 2:47 [PATCH v9]: Hibernation: fix the number of pages used for hibernate/thaw buffering Bojan Smojver
2012-04-10 8:40 ` Per Olofsson
2012-04-10 9:19 ` Bojan Smojver
2012-04-10 9:22 ` Per Olofsson
2012-04-10 9:27 ` 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=1334050034.2178.5.camel@shrek.rexursive.com \
--to=bojan@rexursive.com \
--cc=linux-kernel@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