On Tue, 2013-07-02 at 12:49 +0300, Eliezer Tamir wrote:Time in range will fail safely if we move to a different cpu with an
extremely large clock skew.
Add time_in_range64() and convert lls to use it.
Signed-off-by: Eliezer Tamir <eliezer.tamir@xxxxxxxxxxxxxxx>
---
v1->v2
fixed double call to sched_clock() in can_poll_ll(), checkpatchisms
+#define time_in_range64(a, b, c) \[...]
+ (time_after_eq64(a, b) && \
+ time_before_eq64(a, c))
Why not make this an inline function, so the caller doesn't need to
worry about repeated evaluation?