kernel/timer.c

Joakim Tjernlund Joakim.Tjernlund at lumentis.se
Sat Apr 12 20:35:46 EST 2003


> >>sleep(0) could be defined as:
> >>-schedule to next task if there is any (just call schedule() )
> >>-sleep minimum value (1 jiffie)
> >>
> >>default kernel (no timer patches) uses second definition,
> >>
> >>
> >
> >No, linux uses the first definition(or whatever schedule_timeout(0) does).
> >If t is zero then expire also becomes zero.
> >
> >
> maybe, my  missunderstood
>
> 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

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list