Re: timeout of 10 usecs

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

 



2009/3/16 Razvan Deaconescu <razvan@xxxxxxxxxxxxxxxxxx>:
> On Mon, 2009-03-16 at 00:41 +0300, Denis Borisevich wrote:
>> Hi!
>> Is there any way to achieve a timeout of say 10 usecs in kernel module?
>
> See udelay[1]. Please note that it does busy-waiting (you can't
> block/put to sleep the current process for periods less than 1000/HZ
> milliseconds).
>
> Razvan
>
> [1] http://lxr.linux.no/linux+v2.6.28.7/arch/x86/include/asm/delay.h#20


Hmm..busy-wait is not good for my situation. Is there any way to
achieve these little timeouts with RT_PREEMPT patch?

--
Denis

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux