[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1414105068.20845.38.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Thu, 23 Oct 2014 15:57:48 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Ahern <dsahern@...il.com>
Cc: David Miller <davem@...emloft.net>,
Crestez Dan Leonard <cdleonard@...il.com>,
netdev@...r.kernel.org,
Jonathan Toppins <jtoppins@...ulusnetworks.com>
Subject: Re: [PATCH v2 net] tcp: md5: do not use alloc_percpu()
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists