net: batch skb dequeueing from softnet input_pkt_queue
authorChangli Gao <xiaosuo@gmail.com>
Tue, 27 Apr 2010 22:07:33 +0000 (15:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Apr 2010 22:11:49 +0000 (15:11 -0700)
batch skb dequeueing from softnet input_pkt_queue to reduce potential lock
contention when RPS is enabled.

Note: in the worst case, the number of packets in a softnet_data may
be double of netdev_max_backlog.

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

No differences found