diff options
author | Eliezer Tamir <eliezer.tamir@linux.intel.com> | 2013-07-09 13:09:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-09 12:33:04 -0700 |
commit | 76b1e9b9813e412bde7446525f6c299803713545 (patch) | |
tree | f062c481d287f1c3b186a9ede8d61abffcf06f8f /net/ipv6/xfrm6_output.c | |
parent | cbf55001b2ddb814329735641be5d29b08c82b08 (diff) | |
download | linux-76b1e9b9813e412bde7446525f6c299803713545.tar.gz linux-76b1e9b9813e412bde7446525f6c299803713545.tar.bz2 linux-76b1e9b9813e412bde7446525f6c299803713545.zip |
net/fs: change busy poll time accounting
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 <eliezer.tamir@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/xfrm6_output.c')
0 files changed, 0 insertions, 0 deletions