Re: [PATCH v2 3/6] hrtimer: Pause KCOV during deferred rearm

From: Peter Zijlstra

Date: Wed Aug 12 2026 - 06:23:17 EST


On Tue, Aug 11, 2026 at 05:41:08PM +0200, Karl Mehltretter wrote:
> Deferred hrtimer rearm can run after HARDIRQ_OFFSET is dropped. in_task()
> is then true, so KCOV attributes the instrumented timer-reprogramming
> subtree to current.

But that is clearly noinstr code; there should be no kcov calls in
there.

If kcov is emitted inside noinstr, then kcov is a broken piece of crap
and needs to die.

NAK