git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f78d1f
)
rps: avoid one atomic in enqueue_to_backlog
author
Eric Dumazet
<eric.dumazet@gmail.com>
Thu, 6 May 2010 23:51:21 +0000
(23:51 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 18 May 2010 00:18:50 +0000
(17:18 -0700)
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>
No differences found