summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-11-15 19:58:26 +0000
committerDavid S. Miller <davem@davemloft.net>2010-11-16 11:17:43 -0800
commitc31504dc0d1dc853dcee509d9999169a9097a717 (patch)
tree8ee1d5616b7140759cf742ef89cf9f7ba1c01b20 /include/asm-generic
parent213b15ca818adf7766cd7162c2159a6ecdd3bab8 (diff)
downloadlinux-c31504dc0d1dc853dcee509d9999169a9097a717.tar.bz2
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>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions