# Re: \[PATCH 4/24\] pps: Convert to ktime\_get\_snapshot\_id()

- From: David Woodhouse \<dwmw2@infradead.org\>
- Date: 2026-05-26 23:42:32 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/05/17033759
- Thread: https://ratatoskr.run/kvmarm/2026/05/17032577/t.md

```text
On Tue, 26 May 2026 19:13:48 +0200, Thomas Gleixner wrote:
> ktime_get_snapshot() resolves to ktime_get_snapshot_id(CLOCK_REALTIME).
>
> Make it obvious in the code and convert the readout to use the
> snapshot::sys field instead of snapshot::real, which is going away.
>
> Similar to the PPS generators, avoid the more expensive snapshot when
> CONFIG_NTP_PPS is disabled.
>
> No functional change intended.
>
> Signed-off-by: Thomas Gleixner <tglx@kernel.org>

Reviewed-by: David Woodhouse <redacted>

```

## Attachments

- [smime.p7s](https://ratatoskr.run/netdev/2026/05/17033759/attachment/0) (application/pkcs7-signature, 5069 bytes)
