udp: Use hlist_nulls in UDP RCU code
This is a straightforward patch, using hlist_nulls infrastructure. RCUification already done on UDP two weeks ago. Using hlist_nulls permits us to avoid some memory barriers, both at lookup time and delete time. Patch is large because it adds new macros to include/net/sock.h. These macros will be used by TCP & DCCP in next patch. Signed-off-by:Eric Dumazet <dada1@cosmosbay.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/linux/rculist.h 0 additions, 17 deletionsinclude/linux/rculist.h
- include/net/sock.h 46 additions, 11 deletionsinclude/net/sock.h
- include/net/udp.h 1 addition, 1 deletioninclude/net/udp.h
- net/ipv4/udp.c 22 additions, 25 deletionsnet/ipv4/udp.c
- net/ipv6/udp.c 14 additions, 12 deletionsnet/ipv6/udp.c
Loading
Please register or sign in to comment