kernel_optimize_test/net/tipc
Allan Stephens 968edbe1c8 tipc: Optimization to multicast name lookup algorithm
This patch simplifies and speeds up TIPC's algorithm for identifying
on-node and off-node destinations that overlap a multicast name
sequence range.  Rather than traversing the list of all known name
publications within the cluster, it now traverses the (potentially
much shorter) list of name publications made by the node itself, and
determines if any off-node destinations exist by comparing the sizes
of the two lists.  (Since the node list must be a subset of the
cluster list, a difference in sizes means that at least one off-node
destination must exist.)

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-14 22:45:33 -07:00
..
addr.c
addr.h
bcast.c tipc: Eliminate improper use of TIPC_OK error code 2008-07-14 22:44:01 -07:00
bcast.h
bearer.c tipc: Eliminate improper use of TIPC_OK error code 2008-07-14 22:44:01 -07:00
bearer.h
cluster.c tipc: Eliminate improper use of TIPC_OK error code 2008-07-14 22:44:01 -07:00
cluster.h
config.c
config.h
core.c
core.h
dbg.c
dbg.h
discover.c
discover.h
eth_media.c tipc: Eliminate improper use of TIPC_OK error code 2008-07-14 22:44:01 -07:00
handler.c
Kconfig
link.c tipc: Eliminate improper use of TIPC_OK error code 2008-07-14 22:44:01 -07:00
link.h
Makefile
msg.c
msg.h
name_distr.c
name_distr.h
name_table.c tipc: Optimization to multicast name lookup algorithm 2008-07-14 22:45:33 -07:00
name_table.h
net.c tipc: Eliminate improper use of TIPC_OK error code 2008-07-14 22:44:01 -07:00
net.h
netlink.c
node_subscr.c
node_subscr.h
node.c tipc: Add missing locks when inspecting node list & link list 2008-07-14 22:44:58 -07:00
node.h
port.c tipc: Eliminate improper use of TIPC_OK error code 2008-07-14 22:44:01 -07:00
port.h
ref.c tipc: Eliminate improper use of TIPC_OK error code 2008-07-14 22:44:01 -07:00
ref.h
socket.c tipc: Fix race condition that could cause accept() to fail 2008-07-14 22:43:32 -07:00
subscr.c
subscr.h
user_reg.c tipc: Eliminate improper use of TIPC_OK error code 2008-07-14 22:44:01 -07:00
user_reg.h
zone.c
zone.h