From: Li RongQing
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
These two numbers are not the same, in fact num_possible_cpus() can be
and often is smaller than nr_cpu_
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
---
net/core/dev.c | 4 ++--
net/ipv4/inet_hashtables.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/core/dev.c b/net/core/dev.c