summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaolo Abeni2017-06-21 10:24:40 +0200
committerDavid S. Miller2017-06-21 17:38:11 +0200
commitdd99e425be23294a9a91b365bd04f9b255fb72e8 (patch)
tree0bd383473708ab4a183c3a138b6cee363ae4d569 /arch
parentqede: Fix compilation without QED_RDMA (diff)
downloadkernel-qcow2-linux-dd99e425be23294a9a91b365bd04f9b255fb72e8.tar.gz
kernel-qcow2-linux-dd99e425be23294a9a91b365bd04f9b255fb72e8.tar.xz
kernel-qcow2-linux-dd99e425be23294a9a91b365bd04f9b255fb72e8.zip
udp: prefetch rmem_alloc in udp_queue_rcv_skb()
On UDP packets processing, if the BH is the bottle-neck, it always sees a cache miss while updating rmem_alloc; try to avoid it prefetching the value as soon as we have the socket available. Performances under flood with multiple NIC rx queues used are unaffected, but when a single NIC rx queue is in use, this gives ~10% performance improvement. Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions