diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-04-22 03:22:45 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-22 03:22:45 -0400 |
commit | e326bed2f47d0365da5a8faaf8ee93ed2d86325b (patch) | |
tree | 46ee31550c49efa4c06c857b039ab6fdabf08a9c /net/netrom | |
parent | de498c89254b5b89f676e9c9292396d5ebf52bf2 (diff) |
rps: immediate send IPI in process_backlog()
If some skb are queued to our backlog, we are delaying IPI sending at
the end of net_rx_action(), increasing latencies. This defeats the
queueing, since we want to quickly dispatch packets to the pool of
worker cpus, then eventually deeply process our packets.
It's better to send IPI before processing our packets in upper layers,
from process_backlog().
Change the _and_disable_irq suffix to _and_enable_irq(), since we enable
local irq in net_rps_action(), sorry for the confusion.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netrom')
0 files changed, 0 insertions, 0 deletions