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