Re: [PATCH] i386 tsc: remove xtime_lock'ing around cpufreq notifier

From: Andrew Morton
Date: Thu Apr 12 2007 - 13:57:29 EST


On Thu, 12 Apr 2007 10:43:03 -0700
Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> Andrew Morton wrote:
> > hm. People (ab)use sched_clock() for all sorts of things nowadays. I wouldn't
> > do anything to degrade it just on behalf of printk-timestamping.
> >
>
> printk was the only non-scheduler-ish use I could find. Are there others?
>

blktrace. I've seen a couple of trace/debug-style things which use
sched_clock for timestamping event collection. I think lttng does exotic
things with TSCs, performing private skew correction, although that might
have changed now.
-
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/