Re: CPUfreq - udelay() interaction issues

From: Saravana Kannan
Date: Fri Apr 23 2010 - 22:57:39 EST


Arjan van de Ven wrote:
so in reality, all hardware that does coordination between cores/etc
like this also has a tsc that is invariant of the actual P state.
If there are exceptions, those have a problem, but I can't think of any
right now.
Once the TSC is invariant of P state, udelay() is fine, since that goes
of the tsc, not of some delay loop kind of thing....

I assume you are talking specifically about x86. I want x86 to be correct, but also want ARM to be correct. So, at this point I might as well try to put in an arch independent fix.

Thanks,
Saravana
--
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/