RE: [PATCH] provide hrtimer exports for module use [Was: Exportsfor hrtimer APIs]

From: Thomas Gleixner
Date: Tue Mar 14 2006 - 17:15:03 EST


On Tue, 2006-03-14 at 14:11 -0800, Stone, Joshua I wrote:
> Sure - SystemTap uses timers to provide an asynchronous probe during
> module execution. This might be utilized for polling kernel states, for
> flushing trace data, and perhaps other similar uses. Currently we're
> using the main timer APIs - add_timer, mod_timer, etc.
>
> My motivation for moving to hrtimer is because of what I read in its
> documentation - basically that the timer wheel is best for timeout cases
> which are rarely recascaded. The way SystemTap uses timers is more for
> defining intervals, and they are always cascaded until the module is
> complete. The hrtimers seem more suited to this methodology.

What means "more for defining intervals" ? Which intervals (period in
ms)? What are the timers used for ?

tglx


-
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/