From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <002901c300f2$58776090$020120b0@jockeXP> From: "Joakim Tjernlund" To: "Joakim Tjernlund" , "Wojciech Kromer" , "Linuxppc-Embedded (E-mail)" References: <3E97BB43.6030409@dgt-lab.com.pl> <000901c300cd$b708f8a0$020120b0@jockeXP> <3E97DD20.6030908@dgt-lab.com.pl> <001901c300df$4a2bb030$020120b0@jockeXP> Subject: Re: kernel/timer.c Date: Sat, 12 Apr 2003 14:52:11 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-2" Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: > > so, anyone knows what linus.t says about adding one jiffie to every > > non-zero expire? > > I think this is a bug. It should be enough to round up to nearest jiffie. > Ask on the linux kernel list. > > Jocke Actually, I take that back. It's not a bug. schedule_timeout(x), x > 0 will wait somewere between x-1 and x jiffies. Therefore one must add an extra jiffie to make sure that you don't return too early. Jocke ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/