summaryrefslogtreecommitdiff
path: root/net/tipc/socket.c
diff options
context:
space:
mode:
authorJon Paul Maloy <jon.maloy@ericsson.com>2014-03-12 19:31:07 +0400
committerDavid S. Miller <davem@davemloft.net>2014-03-12 23:53:49 +0400
commit978813ee89674fdb6bb6585153166b7603173cd2 (patch)
treed16551ae5c001a6899e2adca92df007e1b397914 /net/tipc/socket.c
parent4a93f5095a628d812b0b30c16d7bacea1efd783c (diff)
downloadlinux-978813ee89674fdb6bb6585153166b7603173cd2.tar.xz
tipc: replace reference table rwlock with spinlock
The lock for protecting the reference table is declared as an RWLOCK, although it is only used in write mode, never in read mode. We redefine it to become a spinlock. Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Reviewed-by: Ying Xue <ying.xue@windriver.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions