Re: [PATCH 2.6.13-rc6-rt9] PI aware dynamic priority adjustment

From: Roland McGrath
Date: Mon Sep 26 2005 - 16:04:12 EST


> On another issue along this line, I have been thinking of changing the
> x86 TSC arch cycle size to 1ns. (NOT the resolution, the units for the
> arch cycle.) The reason to do this is to correctly track changes in cpu
> frequency as it is today, we would need to track down and update all
> pending HR timers when ever the frequency changed. By using a common
> unit all we need to do is change the conversion constants (well I guess
> they would not be constants any more :). I REALLY don't want to do this
> as it does add conversion overhead, but I can not think of another clean
> way to track TSC frequency changes.

sched_clock does this conversion at sampling time, too.
-
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/