Re: [patch 0/2] NOHZ vs. profile/oprofile v2

From: Martin Schwidefsky
Date: Mon Jun 22 2009 - 10:59:49 EST


On Mon, 22 Jun 2009 16:41:10 +0200
Ingo Molnar <mingo@xxxxxxx> wrote:

> Hm, this is rather ugly. Why not use hrtimers like 'perf' does when
> it fallback-samples based on the timer tick?
>
> That method has three advantages:
>
> - no weird hookery needed
> - resolution can go far beyond HZ
> - it is evidently dynticks-safe

Hmm, if we replace the HZ based oprofile tick with an hrtimer we should
add an interface to configure the sample interval as well, no? Otherwise
we just replace one timer event (HZ) with another (hrtimer).

--
blue skies,
Martin.

"Reality continues to ruin my life." - Calvin.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/