Re: [patch 12/13] net: mac80211: Remove silly timespec dance

From: Johannes Berg
Date: Thu Jun 12 2014 - 02:50:32 EST


On Wed, 2014-06-11 at 23:59 +0000, Thomas Gleixner wrote:

> + msrmnt = ktime_to_ms(net_timedelta(skb_arv));

This is probably more of a question about net_timedelta(), but is
ktime_get_real() really appropriate for duration measurements? Isn't
that non-monotonic?

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/