Thread (23 messages) 23 messages, 4 authors, 2015-08-29

Re: [PATCH RFC V2 2/2] net: Optimize snmp stat aggregation by walking all the percpu data at once

From: Joe Perches <joe@perches.com>
Date: 2015-08-28 20:53:38
Also in: lkml

On Fri, 2015-08-28 at 13:33 -0700, Eric Dumazet wrote:
We do not bother for small struct.

Here, the array is big enough that David prefers having an explicit
memset() so that it clearly shows that author of this code was aware of
this.
It's 288 bytes on stack, maybe a kzalloc would be clearer too.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help