Thread (42 messages) flat view 42 messages, 3 authors, 2025-06-14

Re: [patch V2 04/26] timekeeping: Introduce timekeeper ID

From: John Stultz <jstultz@google.com>
Date: 2025-06-13 00:03:43
Also in: lkml

On Mon, May 19, 2025 at 1:33 AM Thomas Gleixner [off-list ref] wrote:
From: Anna-Maria Behnsen <anna-maria@linutronix.de>

As long as there is only a single timekeeper, there is no need to clarify
which timekeeper is used. But with the upcoming reusage of the timekeeper
infrastructure for auxiliary clock timekeepers, an ID is required to
differentiate.

Introduce an enum for timekeeper IDs, introduce a field in struct tk_data
to store this timekeeper id and add also initialization. The id struct
field is added at the end of the second cachline, as there is a 4 byte hole
anyway.

Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <redacted>
Acked-by: John Stultz <jstultz@google.com>

thanks
-john
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help