Messages in this thread | | | Subject | RE: why kernel implement "udelay" by cpu instructions? | Date | Wed, 4 Nov 2009 11:15:01 +0530 | From | "Rajat Jain" <> |
| |
Hi,
> > I thought hrtimers allow higher-precision wakeups these days? > Of course, if you only want to sleep for a few microseconds, the > context switch might take longer than you want to sleep...
Yes, that is right. Sorry, I missed that. But that is purely HW dependent - if your HW providea a high precision timer (Such as HPET on latest Intel machines), that can be used for quicker sleeps.
Thanks,
Rajat
| |