]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tipc: introduce per-link spinlock
authorJon Paul Maloy <jon.maloy@ericsson.com>
Thu, 19 Nov 2015 19:30:43 +0000 (14:30 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Nov 2015 19:06:10 +0000 (14:06 -0500)
commit2312bf61ae365fdd6b9bfb24558a417859759447
tree182ac3a58a25951a475c3bc88a32b0e82662201e
parent1d7e1c2595bd20c5274a8e49d89cf0cf483759de
tipc: introduce per-link spinlock

As a preparation to allow parallel links to work more independently
from each other we introduce a per-link spinlock, to be stored in the
struct nodes's link entry area. Since the node lock still is a regular
spinlock there is no increase in parallellism at this stage.

Reviewed-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c
net/tipc/node.c
net/tipc/node.h