]> git.baikalelectronics.ru Git - kernel.git/commit
udp: Use hlist_nulls in UDP RCU code
authorEric Dumazet <dada1@cosmosbay.com>
Mon, 17 Nov 2008 03:39:21 +0000 (19:39 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Nov 2008 03:39:21 +0000 (19:39 -0800)
commitf6fa04775ef766b2fdb8233566c0f574a56d6d6b
treec8788a1e3de08100bca341fa4180adfe5d02880f
parent2fdcc2d58084dc1b42175419e670a13915fb51da
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>
include/linux/rculist.h
include/net/sock.h
include/net/udp.h
net/ipv4/udp.c
net/ipv6/udp.c