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] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160809162919.266e58ca0c33896dcf417a02@linux-foundation.org>
Date:	Tue, 9 Aug 2016 16:29:19 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	zhongjiang <zhongjiang@...wei.com>
Cc:	<linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mm: optimize find_zone_movable_pfns_for_nodes to avoid
 unnecessary loop.

On Fri, 5 Aug 2016 22:04:07 +0800 zhongjiang <zhongjiang@...wei.com> wrote:

> when required_kernelcore decrease to zero, we should exit the loop in time.
> because It will waste time to scan the remainder node.

The patch is rather ugly and it only affects __init code, so the only
benefit will be to boot time.

Do we have any timing measurements which would justify changing this code?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ