diff options
| author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-11-08 13:18:44 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2009-11-09 07:53:08 +0300 |
| commit | 1240d1373cd7f874dd0f3057c3e9643e71ef75c6 (patch) | |
| tree | 5bb5b7f72be25210a899e60f9137a4dad899bf05 /include | |
| parent | fddc17defa22d8caba1cdfb2e22b50bb4b9f35c0 (diff) | |
| download | linux-1240d1373cd7f874dd0f3057c3e9643e71ef75c6.tar.xz | |
ipv4: udp: Optimise multicast reception
UDP multicast rx path is a bit complex and can hold a spinlock
for a long time.
Using a small (32 or 64 entries) stack of socket pointers can help
to perform expensive operations (skb_clone(), udp_queue_rcv_skb())
outside of the lock, in most cases.
It's also a base for a future RCU conversion of multicast recption.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Lucian Adrian Grijincu <lgrijincu@ixiacom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
