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>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1334050034.2178.5.camel@shrek.rexursive.com>
Date:	Tue, 10 Apr 2012 19:27:14 +1000
From:	Bojan Smojver <bojan@...ursive.com>
To:	Per Olofsson <pelle@...ian.org>
Cc:	"Rafael J. Wysocki" <rjw@...k.pl>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v9]: Hibernation: fix the number of pages used for
 hibernate/thaw buffering

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

--
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