git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92e32ea
)
net: inet_add_protocol() can use cmpxchg()
author
Eric Dumazet
<eric.dumazet@gmail.com>
Thu, 9 Sep 2010 04:31:35 +0000
(21:31 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 9 Sep 2010 04:31:35 +0000
(21:31 -0700)
Use cmpxchg() to get rid of spinlocks in inet_add_protocol() and
friends.
inet_protos[] & inet6_protos[] are moved to read_mostly section
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found