Thread (4 messages) flat view 4 messages, 3 authors, 2010-10-19

Re: [PATCH] net: unix: make some variables constant

From: Eric Dumazet <hidden>
Date: 2010-10-19 05:47:49

Le mardi 19 octobre 2010 à 13:24 +0800, Changli Gao a écrit :
And since ctl_table.data is initialized later, we don't need to initialize
the data member of the template variable unix_table.
The init cost is nothing, since its a data blob that must be there
anyway.

We could even avoid the kmemdup() if CONFIG_NET_NS is not set



Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help