On Wednesday 07 January 2015 13:01:33 John Stultz wrote: > + usec_elapsed = (long)ktime_to_ns(ktime_sub(end_time, start_time))/1000; > This should use ktime_us_delta for brevity. Doing the 32-bit division that you have here is probably slightly more efficient because it avoids do_div(), but it's not performance critical. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html