Merge branch 'busypoll-preemption-and-other-optimizations'
authorDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 18:40:59 +0000 (13:40 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 18:40:59 +0000 (13:40 -0500)
commitfc3f9146cec6ced8866071f711aba3f356af65f6
tree51efb65cae00ee88ec39c9e41569a95c0f8526f7
parent2874aa2e467dbc0b4f7cb0ee5dc872e98e000a47
parent80f1c21c53dc5906944eac52d643f63e82ad1673
Merge branch 'busypoll-preemption-and-other-optimizations'

Eric Dumazet says:

====================
net: busy-poll: allow preemption and other optimizations

It is time to have preemption points in sk_busy_loop() and improve
its scalability.

Also napi_complete() and friends can tell drivers when it is safe to
not re-enable device interrupts, saving some overhead under
high busy polling.

mlx4 and bnx2x are changed accordingly, to show how this busy polling
status can be exploited by drivers.

Next steps will implement Zach Brown suggestion, where NAPI polling
would be enabled all the time for some chosen queues.
This is needed for efficient epoll() support anyway.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>