Thread (9 messages) flat view 9 messages, 4 authors, 2016-08-09

Re: [RFC PATCH 2/3] net: Replace for_each_possible_cpu with for_each_online_cpu

From: David Miller <davem@davemloft.net>
Date: 2016-08-08 17:59:20
Also in: lkml

From: Jia He <redacted>
Date: Mon,  8 Aug 2016 18:22:21 +0800
In PowerPC server with large number cpus, the loop index in smt=1 could be 
reduced to 1/8 compared with smt=8.
Thus cache misses can be reduced.
You can't do this, if cpus go down we still want to report the statistics
they collected while they were up.

So we must use the possible cpu list here.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help