Messages in this thread | | | Date | Fri, 2 Jul 1999 20:17:41 +0200 (CEST) | From | Andrea Arcangeli <> | Subject | Re: Can't sleep less than 20 ms |
| |
On Fri, 2 Jul 1999, Dong Liu wrote:
>Boussard Per wrote: >> >> On Fri, 2 Jul 1999, Andrea Arcangeli wrote: >> >> > >> > Set the policy of the scheduler as RT. >> > >> >> This will only work for root, no? The problem is the tv_sec||tv_nsec
Yep.
>> expression in sys_nanosleep(). I think this must go.
Hmm, I thought your problem is that you wanted usleep(1) to not sleep.
>This seems to be correct, I changed
Agreed. I think we should remove such addition too. timespec_to_jiffies is just smart enough to avoid returning zero if tv_sec is 0 and tv_nsec is 1.
Andrea
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |