Re: TSC calibration sometimes not correct with RT patch.

From: Ingo Molnar
Date: Wed Jul 25 2007 - 03:40:08 EST



* Henri Hunnekens <henrihunnekens@xxxxxxxxx> wrote:

> I've seen that the calbration of the TSC timer was not always done
> correctly, which resulted in incorrect timers.
>
> I found out that local_irq_disable is used before the calibration is
> started. However with the RT patch applied this does not mean that the
> interrupts are disabled and therefore the calibration may fails when
> it's interrupted by an interrupt. Correct me if I'm wrong.

local_irq_disable() still disables interrupts, even in PREEMPT_RT. So
the problem should be elsewhere. Can you see similar problems on .22-rt
too? The hrt code saw a number of updates there.

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