diff options
author | Sridhar Samudrala | 2017-03-24 18:08:24 +0100 |
---|---|---|
committer | David S. Miller | 2017-03-25 04:49:31 +0100 |
commit | 7db6b048da3b9f84fe1d22fb29ff7e7c2ec6c0e5 (patch) | |
tree | 4280f554866625190cd24db1768927764ba2bc77 /fs/eventpoll.c | |
parent | net: Track start of busy loop instead of when it should end (diff) | |
download | kernel-qcow2-linux-7db6b048da3b9f84fe1d22fb29ff7e7c2ec6c0e5.tar.gz kernel-qcow2-linux-7db6b048da3b9f84fe1d22fb29ff7e7c2ec6c0e5.tar.xz kernel-qcow2-linux-7db6b048da3b9f84fe1d22fb29ff7e7c2ec6c0e5.zip |
net: Commonize busy polling code to focus on napi_id instead of socket
Move the core functionality in sk_busy_loop() to napi_busy_loop() and
make it independent of sk.
This enables re-using this function in epoll busy loop implementation.
Signed-off-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/eventpoll.c')
0 files changed, 0 insertions, 0 deletions