Re: [patch 03/24] pps: generators: Use ktime_get_real_ts64() instead of ktime_get_snapshot()

From
Thomas Weißschuh <hidden>
Date
2026-05-27 07:00:36
Also in
kvmarm, linux-sound, linux-wireless, lkml, virtualization
Reply to
Thomas Gleixner, 2026-05-26
On Tue, May 26, 2026 at 07:13:43PM +0200, Thomas Gleixner wrote:
There is no reason to use the more complex ktime_get_snapshot() for
retrieving CLOCK_REALTIME.

Just use ktime_get_real_ts64(), which avoids the extra timespec64
conversion as a bonus.

No functional change intended.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: Rodolfo Giometti <giometti@enneenne.com>
Reviewed-by: Thomas Weißschuh <redacted>

These preparation commits could also go to the front of the series.
Thread (86 messages) 86 messages, 9 authors, last reply 2026-07-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help