]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: tipc: convert node list and node hlist to RCU lists
authorYing Xue <ying.xue@windriver.com>
Thu, 27 Mar 2014 04:54:37 +0000 (12:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Mar 2014 17:08:37 +0000 (13:08 -0400)
commitaa2ae0cd6ffaf4a7c86af6f49a65f99ae7e0a8a7
treead8c61e1fa48fdc36e799be6f8f67d257ee080b1
parent75c7213438c9a0a7388c209879d57766f9490c5a
tipc: tipc: convert node list and node hlist to RCU lists

Convert tipc_node_list list and node_htable hash list to RCU lists.
On read side, the two lists are protected with RCU read lock, and
on update side, node_list_lock is applied to them.

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