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: <alpine.LRH.1.10.0812021001570.21992@tundra.namei.org>
Date:	Tue, 2 Dec 2008 10:02:18 +1100 (EST)
From:	James Morris <jmorris@...ei.org>
To:	Rusty Russell <rusty@...tcorp.com.au>
cc:	linux-kernel@...r.kernel.org, Mike Travis <travis@....com>,
	Ingo Molnar <mingo@...e.hu>,
	Eric Biederman <ebiederm@...ssion.com>,
	Ingo Molnar <mingo@...e.hu>,
	Eric Biederman <ebiederm@...ssion.com>
Subject: Re: [PATCH 1/2] cpumask: prepare for iterators to only go to
 nr_cpu_ids/nr_cpumask_bits.: core

On Mon, 1 Dec 2008, Rusty Russell wrote:

> 
> Impact: cleanup
> 
> In future, all cpumask ops will only be valid (in general) for bit
> numbers < nr_cpu_ids.  So use that instead of NR_CPUS in iterators
> and other comparisons.
> 
> This is always safe: no cpu number can be >= nr_cpu_ids, and
> nr_cpu_ids is initialized to NR_CPUS at boot.
> 
> Signed-off-by: Rusty Russell <rusty@...tcorp.com.au>
> Signed-off-by: Mike Travis <travis@....com>
> Acked-by: Ingo Molnar <mingo@...e.hu>
> Cc: Eric Biederman <ebiederm@...ssion.com>
> Cc: James Morris <jmorris@...ei.org>

Acked-by: James Morris <jmorris@...ei.org>


-- 
James Morris
<jmorris@...ei.org>
--
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