aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorJon Paul Maloy <jon.maloy@ericsson.com>2015-07-30 18:24:25 -0400
committerDavid S. Miller <davem@davemloft.net>2015-07-30 17:25:15 -0700
commit9073fb8be3ee6f89492b8ea8f6d3902913a9fc91 (patch)
treef5a58b660ba2bde053c9fddfeb112c41af6cf275 /net/tipc/node.c
parenttipc: remove implicit message delivery in node_unlock() (diff)
downloadlinux-dev-9073fb8be3ee6f89492b8ea8f6d3902913a9fc91.tar.xz
linux-dev-9073fb8be3ee6f89492b8ea8f6d3902913a9fc91.zip
tipc: use temporary, non-protected skb queue for bundle reception
Currently, when we extract small messages from a message bundle, or when many messages have accumulated in the link arrival queue, those messages are added one by one to the lock protected link input queue. This may increase contention with the reader of that queue, in the function tipc_sk_rcv(). This commit introduces a temporary, unprotected input queue in tipc_link_rcv() for such cases. Only when the arrival queue has been emptied, and the function is ready to return, does it splice the whole temporary queue into the real input queue. Tested-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>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions