On Thu, 3 Feb 2005 20:29:36 +0100, Sven Schwyn <echo37@xxxxxxxxxxx> wrote: > I can't use nanosleep() in kernel modules and the resolution of > schedule_timeout() is way too large. What else can I use instead of > nanosleep()? How bad is it if you miss a cycle? You can only use scheduling functions if you're in process context at the time that you call them (with the stock kernel) and if deadlines matter then you don't want to risk sitting on the wrong runqueue for too long. Jon. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/