Thread (2 messages) flat view 2 messages, 2 authors, 2013-07-09

Re: [PATCH net-next v2] net/fs: change busy poll time accounting

From: David Miller <davem@davemloft.net>
Date: 2013-07-09 19:33:36
Also in: lkml

From: Eliezer Tamir <redacted>
Date: Tue, 09 Jul 2013 13:09:21 +0300
Sorry, I forgot to commit before sending, so I sent the wrong version.
The previous version gets a warning in busy_loop_timeout().

Suggested by Linus:
Changed time accounting for busy-poll:
- Make it microsecond based.
- Use unsigned longs.
- Revert back to use time_after instead of time_in_range.
Reorder poll/select busy loop conditions:
- Clear busy_flag after one time we can't busy-poll.
- Only init busy_end if we actually are going to busy-poll.
Added one more missing need_resched() test.

Signed-off-by: Eliezer Tamir <redacted>
Ok, looks good, applied.

Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help