Re: Is there a problem in timeval_to_jiffies?

From: Jon Masters
Date: Wed Sep 29 2004 - 16:27:56 EST


On Wed, 29 Sep 2004 13:56:24 -0700, Tim Bird <tim.bird@xxxxxxxxxxx> wrote:

Apologies for butting in.

> If you are rescheduling one-shot timers immediately
> after they fire, you should 'undershoot' on the time
> interval, to hit the tick boundary you want, based
> on the jiffy resolution of your platform.

Can I just do a ^^^^ here - this is what the original poster really
needs to know to solve the immediate problem of overshooting - then a
good book can help with the rest.

Jon.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/