net: rename low latency sockets functions to busy poll

Rename functions in include/net/ll_poll.h to busy wait.
Clarify documentation about expected power use increase.
Rename POLL_LL to POLL_BUSY_LOOP.
Add need_resched() testing to poll/select busy loops.

Note, that in select and poll can_busy_poll is dynamic and is
updated continuously to reflect the existence of supported
sockets with valid queue information.

Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Eliezer Tamir
2013-07-08 16:20:34 +03:00
committed by David S. Miller
parent c7e8e8a8f7
commit cbf55001b2
7 changed files with 80 additions and 61 deletions

View File

@@ -30,7 +30,7 @@
#define POLLFREE 0x4000 /* currently only for epoll */
#define POLL_LL 0x8000
#define POLL_BUSY_LOOP 0x8000
struct pollfd {
int fd;