timekeeping: Avoid some runtime conditionals around auxiliary clocks
Get series with b4
b4 am 20260908-timekeeping-conditionals-v2-0-5ebc3e7e1da0@linutronix.de change-id 20260701-timekeeping-conditionals-25e2d45d86d9Versions newest first
- v2 Latest4 patches 0 repliesNew
- v14 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Rebase on v7.3-rc1.
- Link to v1: https://patch.msgid.link/20260812-timekeeping-conditionals-v1-0-75ebe366677d@linutronix.de
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | timekeeping: Move timekeeper_is_core_tk() up in the filekernel/ | +5 | 0 replies | |
| 2/4 | timekeeping: Use timekeeper_is_core_tk() in timekeeping_update_on_shadow()kernel/ | +1 | 0 replies | |
| 3/4 | timekeeping: Remove tk_is_aux() and its usagekernel/ | +1 | 0 replies | |
| 4/4 | timekeeping: Introduce and use timekeeper_is_clock_valid()kernel/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] timekeeping: Avoid some runtime conditionals around auxiliary clocks
Some of the conditionals around auxiliary timekeepers are known at compile time but are currently checked at runtime. Introduce and use some helpers to avoid the runtime overhead.
---
Changes in v2:
- Rebase on v7.3-rc1.
- Link to v1: https://patch.msgid.link/20260812-timekeeping-conditionals-v1-0-75ebe366677d@linutronix.de
---
Thomas Weißschuh (Schneider Electric) (4):
timekeeping: Move timekeeper_is_core_tk() up in the file
timekeeping: Use timekeeper_is_core_tk() in timekeeping_update_on_shadow()
timekeeping: Remove tk_is_aux() and its usage
timekeeping: Introduce and use timekeeper_is_clock_valid()
kernel/time/timekeeping.c | 41 ++++++++++++++++++----------------------- 1 file changed, 18 insertions(+), 23 deletions(-)
---
base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
change-id: 20260701-timekeeping-conditionals-25e2d45d86d9
Best regards,
Signature · 1 line
Thomas Weißschuh <[email protected]>