summaryrefslogtreecommitdiffstats
path: root/firmware/3com
diff options
context:
space:
mode:
authorJon Paul Maloy <jon.maloy@ericsson.com>2015-10-15 14:52:40 -0400
committerDavid S. Miller <davem@davemloft.net>2015-10-15 23:55:18 -0700
commit9945e8043ef9273cfb633d930e2a5a9116009b09 (patch)
tree0405f420473e90244b05ff6b24de11cc88d490e6 /firmware/3com
parent175f8d6746aa4b1dac5ccf576bcbc5488ff21a36 (diff)
downloadop-kernel-dev-9945e8043ef9273cfb633d930e2a5a9116009b09.zip
op-kernel-dev-9945e8043ef9273cfb633d930e2a5a9116009b09.tar.gz
tipc: limit usage of temporary skb list during packet reception
During packet reception, the function tipc_link_rcv() adds its accepted packets to a temporary buffer queue, before finally splicing this queue into the lock protected input queue that will be delivered up to the socket layer. The purpose is to reduce potential contention on the input queue lock. However, since the vast majority of packets arrive in sequence, they will anyway be added one by one to the input queue, and the use of the temporary queue becomes a sub-optimization. The only case where this queue makes sense is when unpacking buffers from a bundle packet; here we want to avoid dozens of small buffers to be added individually to the lock-protected input queue in a tight loop. In this commit, we remove the general usage of the temporary queue, and keep it only for the packet unbundling case. Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Acked-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/3com')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud