]> err.no Git - linux-2.6/commit
net: eliminate refcounting in backlog queue
authorStephen Hemminger <shemminger@vyatta.com>
Mon, 4 Aug 2008 04:29:57 +0000 (21:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Aug 2008 04:29:57 +0000 (21:29 -0700)
commit6e583ce5242f32e925dcb198f7123256d0798370
tree9bf826ddc1c2826015a6d59141f7c53e094b0204
parent283d07ac201ee9f8aa6dc6f7519436b48760baff
net: eliminate refcounting in backlog queue

Avoid the overhead of atomic increment/decrement on each received packet.
This helps performance of non-NAPI devices (like loopback).
Use cleanup function to walk queue on each cpu and clean out any
left over packets.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c