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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 9 Mar 2010 14:55:39 -0600 (CST)
From:	Christoph Lameter <cl@...ux-foundation.org>
To:	"Robert P. J. Day" <rpjday@...shcourse.ca>
cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	LKML <linux-kernel@...r.kernel.org>, linux-mm@...ck.org,
	Pekka Enberg <penberg@...helsinki.fi>
Subject: Re: mm: Do not iterate over NR_CPUS in __zone_pcp_update()

On Tue, 9 Mar 2010, Robert P. J. Day wrote:

> > I'm having trouble working out whether we want to backport this into
> > 2.6.33.x or earlier.  Help?
>
>   given the above aesthetic mod, shouldn't that same change be applied
> to *all* explicit loops of that form?  after all, checkpatch.pl warns
> against it:

The number of NR_CPUS should be significantly less after the percpu
rework. Would you audit the kernel for NR_CPUS use?

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