[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1316406591.2026.19.camel@shrek.rexursive.com>
Date: Mon, 19 Sep 2011 14:29:51 +1000
From: Bojan Smojver <bojan@...ursive.com>
To: linux-kernel@...r.kernel.org
Subject: Re: [PATCH]: Improve performance of LZO hibernation
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists