Thread (6 messages) flat view 6 messages, 4 authors, 2016-08-25

Re: [PATCH net-next] net: minor optimization in qdisc_qstats_cpu_drop()

From: Eric Dumazet <hidden>
Date: 2016-08-24 19:19:11

On Wed, 2016-08-24 at 11:04 -0700, Rick Jones wrote:
On 08/24/2016 10:23 AM, Eric Dumazet wrote:
quoted
From: Eric Dumazet <edumazet@google.com>

per_cpu_inc() is faster (at least on x86) than per_cpu_ptr(xxx)++;
Is it possible it is non-trivially slower on other architectures?
No, in the worst case, compiler would emit the same code.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help