> nanosleep
Speaking of which, from nanosleep:
if (t.tv_sec == 0 && t.tv_nsec <= 2000000L &&
current->policy != SCHED_OTHER) {
/*
* Short delay requests up to 2 ms will be handled with
* high precision by a busy wait for all real-time processes.
*/
udelay((t.tv_nsec + 999) / 1000);
return 0;
}
Busy waiting for 2ms seems like a performance hit - 2 micro seconds maybe...
-Nat