]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1227a85c73955b29856a0265ab7f60a21fd1c364
tree51efb65cae00ee88ec39c9e41569a95c0f8526f7
parent858d93653421d6d0e5cb14091bc6d5f35ffc9a2c
parenta1a6f90c51dc4bfb076b7181a946000c2fd76791
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>