]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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)
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>

Trivial merge