[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180618133147.30a9896f@cakuba.netronome.com>
Date: Mon, 18 Jun 2018 13:31:47 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: "David S. Miller" <davem@...emloft.net>, y2038@...ts.linaro.org,
Simon Horman <simon.horman@...ronome.com>,
John Hurley <john.hurley@...ronome.com>,
Pieter Jansen van Vuuren
<pieter.jansenvanvuuren@...ronome.com>,
Jiri Pirko <jiri@...lanox.com>, oss-drivers@...ronome.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] nfp: avoid using getnstimeofday64()
On Mon, 18 Jun 2018 17:20:17 +0200, Arnd Bergmann wrote:
> getnstimeofday64 is deprecated in favor of the ktime_get() family of
> functions. The direct replacement would be ktime_get_real_ts64(),
> but I'm picking the basic ktime_get() instead:
>
> - using a ktime_t simplifies the code compared to timespec64
> - using monotonic time instead of real time avoids issues caused
> by a concurrent settimeofday() or during a leap second adjustment.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Acked-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Thank you!
Powered by blists - more mailing lists