From: Eliezer Tamir Date: Tue, 9 Jul 2013 10:09:21 +0000 (+0300) Subject: net/fs: change busy poll time accounting X-Git-Tag: v3.11-rc1~64^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76b1e9b9813e412bde7446525f6c299803713545;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed