Re: Duration of mdelay and udelay depends on MPU frequency in SMP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 12, 2011 at 01:42, Santosh Shilimkar
<santosh.shilimkar@xxxxxx> wrote:
> On 5/5/2011 12:23 PM, Saquib wrote:
>> Can anyone please help me to understand and fix this issue?
>>
>> When CPU frequency is "1008MHz", duration of delay was close to
>> theoretical value, however, when "300MHz", it was close to about 4 times
>> the theoretical value.
>>
>> I tested it on OMAP4(SMP) blaze board.
>
>>
> It's a well known problem if the udelay() is based of global lpj.
> You can read more here [1]
>
> Regards
> Santosh
> [1] http://eeek.borgchat.net/lists/arm-kernel/msg120702.html
I am curious about this topic now.
Searching Russel's patchworks for this:
http://www.arm.linux.org.uk/developer/patches/search.php?summary=udelay
I see nothing queued. What is the recommendation for udelay?

Regards,
Nishanth Menon
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux