From: Bojan Smojver <bojan@rexursive.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH]: Improve performance of LZO hibernation
Date: Mon, 19 Sep 2011 14:29:51 +1000 [thread overview]
Message-ID: <1316406591.2026.19.camel@shrek.rexursive.com> (raw)
On Mon, 2011-09-19 at 14:14 +1000, Bojan Smojver wrote:
> + size_t ring = 0, pg = 0, npages,
> + have = 0, want = MAP_PAGE_ENTRIES, need, asked = 0;
The want = MAP_PAGE_ENTRIES part is a bug for sure (a leftover from the
previous version of the patch). The value of want should be set to
npages, once npages is set after the page allocation loop, of course.
--
Bojan
next reply other threads:[~2011-09-19 4:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-19 4:29 Bojan Smojver [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-09-26 9:12 [PATCH]: Improve performance of LZO hibernation Bojan Smojver
2011-09-22 1:39 Bojan Smojver
2011-09-19 7:53 Bojan Smojver
2011-09-19 4:14 Bojan Smojver
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=1316406591.2026.19.camel@shrek.rexursive.com \
--to=bojan@rexursive.com \
--cc=linux-kernel@vger.kernel.org \
/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