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: <20180708.130422.1348974189124299562.davem@davemloft.net>
Date:   Sun, 08 Jul 2018 13:04:22 +0900 (KST)
From:   David Miller <davem@...emloft.net>
To:     lirongqing@...du.com
Cc:     netdev@...r.kernel.org
Subject: Re: [PATCH][net-next] net: replace num_possible_cpus with
 nr_cpu_ids

From: Li RongQing <lirongqing@...du.com>
Date: Fri,  6 Jul 2018 17:33:36 +0800

> The return of num_possible_cpus() is same as nr_cpu_ids, but
> nr_cpu_ids can reduce cpu computation
> 
> Signed-off-by: Li RongQing <lirongqing@...du.com>

These two numbers are not the same, in fact num_possible_cpus() can be
and often is smaller than nr_cpu_ids.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ