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

From: Thomas Weißschuh

Date: Wed May 27 2026 - 03:01:14 EST


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@xxxxxxxxxx>
> Cc: Rodolfo Giometti <giometti@xxxxxxxxxxxx>

Reviewed-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>

These preparation commits could also go to the front of the series.