Thread (27 messages) 27 messages, 6 authors, 2014-10-25

Re: [PATCH v2 net] tcp: md5: do not use alloc_percpu()

From: Eric Dumazet <hidden>
Date: 2014-10-23 22:57:49

On Thu, 2014-10-23 at 14:44 -0600, David Ahern wrote:
global variables do not need to be initialized to 0.
Compilers are generating the same code nowadays.
They place such zero variables in bss anyway.
They finally got this right, maybe years ago.


$ nm -v net/ipv4/tcp.o | grep populated
0000000000000078 b tcp_md5sig_pool_populated
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help