Re: is minimum udelay() not respected in preemptible SMP kernel-2.6.23?

Andi Kleen
2007-11-07T23:17:38Z

> Ow. Yes, from my reading delay_tsc() can return early (or after
> heat-death-of-the-universe) if the TSCs are offset and if preemption
> migrates the calling task between CPUs.
>
> I suppose a lameo fix would be to disable preemption in delay_tsc().

Yes. Can't think of any better reasonable fix.

-Andi