Loops per jiffy broken for SMP cores?

Saravana Kannan skannan at codeaurora.org
Tue Apr 20 21:35:13 EDT 2010


Hi,

This is the first time I'm mailing LAKML, so please excuse me if I do 
something silly.

I looked at arch/arm/lib/delay.S and it looks like __udelay and 
__const_udelay won't work correctly for SMP cores. The code just uses 
the loops_per_jiffy variable instead of the per-CPU loops per jiffy data.

Is anyone already working on a fix for that? If not, I can fix it up in 
a way that's hopefully palatable to the community.

Thanks,
Saravana



More information about the linux-arm-kernel mailing list