RE: [patch 19/48] clockevents: Provide support for clocksource coupled comparators

From: Thomas Gleixner

Date: Tue Mar 24 2026 - 13:24:25 EST


On Tue, Mar 24 2026 at 03:37, Michael Kelley wrote:
> This approach is not as general as Peter's, but it covers the Hyper-V timer
> case, and is simpler. The cost is an extra memory reference in
> arch_inlined_clockevent_set_next_coupled(). arch/x86/Kconfig can continue

Which can be avoided with a runtime_const if the decision between hyperv
timer and tscdeadline timer happens before either of them registered the
clockevent and does not change later on.

Thanks,

tglx