Eric Dumazet ebda37c27d rps: avoid one atomic in enqueue_to_backlog
If CONFIG_SMP=y, then we own a queue spinlock, we can avoid the atomic
test_and_set_bit() from napi_schedule_prep().

We now have same number of atomic ops per netif_rx() calls than with
pre-RPS kernel.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-17 17:18:50 -07:00
..
2010-05-03 23:18:14 -07:00
2010-04-13 03:32:44 -07:00
2010-04-19 14:40:57 -07:00
2010-03-21 20:33:36 -07:00
2010-05-05 01:07:37 -07:00
2010-05-16 00:36:33 -07:00