From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from s3.sipsolutions.net ([5.9.151.49]:33852 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932134AbaFLGu1 (ORCPT ); Thu, 12 Jun 2014 02:50:27 -0400 Message-ID: <1402555774.4224.1.camel@jlt4.sipsolutions.net> (sfid-20140612_085044_234967_B7951CA4) Subject: Re: [patch 12/13] net: mac80211: Remove silly timespec dance From: Johannes Berg To: Thomas Gleixner Cc: LKML , John Stultz , Peter Zijlstra , Ingo Molnar , "John W. Linville" , linux-wireless@vger.kernel.org Date: Thu, 12 Jun 2014 08:49:34 +0200 In-Reply-To: <20140611234607.683770899@linutronix.de> References: <20140611234024.103571777@linutronix.de> <20140611234607.683770899@linutronix.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: 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