Home
last modified time | relevance | path

Searched hist:c31504dc0d1dc853dcee509d9999169a9097a717 (Results 1 – 3 of 3) sorted by relevance

/linux/net/ipv6/
H A Dudp.cdiff c31504dc0d1dc853dcee509d9999169a9097a717 Mon Nov 15 20:58:26 CET 2010 Eric Dumazet <eric.dumazet@gmail.com> udp: use atomic_inc_not_zero_hint

UDP sockets refcount is usually 2, unless an incoming frame is going to
be queued in receive or backlog queue.

Using atomic_inc_not_zero_hint() permits to reduce latency, because
processor issues less memory transactions.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/linux/net/ipv4/
H A Dudp.cdiff c31504dc0d1dc853dcee509d9999169a9097a717 Mon Nov 15 20:58:26 CET 2010 Eric Dumazet <eric.dumazet@gmail.com> udp: use atomic_inc_not_zero_hint

UDP sockets refcount is usually 2, unless an incoming frame is going to
be queued in receive or backlog queue.

Using atomic_inc_not_zero_hint() permits to reduce latency, because
processor issues less memory transactions.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/linux/include/net/
H A Dsock.hdiff c31504dc0d1dc853dcee509d9999169a9097a717 Mon Nov 15 20:58:26 CET 2010 Eric Dumazet <eric.dumazet@gmail.com> udp: use atomic_inc_not_zero_hint

UDP sockets refcount is usually 2, unless an incoming frame is going to
be queued in receive or backlog queue.

Using atomic_inc_not_zero_hint() permits to reduce latency, because
processor issues less memory transactions.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>