lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ