diff options
author | Eliezer Tamir <eliezer.tamir@linux.intel.com> | 2013-07-09 12:09:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-09 21:33:04 +0200 |
commit | 76b1e9b9813e412bde7446525f6c299803713545 (patch) | |
tree | f062c481d287f1c3b186a9ede8d61abffcf06f8f /drivers/cpufreq | |
parent | net: rename low latency sockets functions to busy poll (diff) | |
download | linux-76b1e9b9813e412bde7446525f6c299803713545.tar.xz 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 'drivers/cpufreq')
0 files changed, 0 insertions, 0 deletions