[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] timer ints



} I was just wondering if programming the timer in one-shot mode might cause the
} normal system timer interrupt to be called at an unusual interval (thus
} affecting the jiffie count, etc). Seems that the linux layer will get its fake
} timer interrupt when (and only when) the one-shot fires.

We make certain that the Linux timer is monotonically increasing.  If you
take a look at arch/i386/kernel/time.c you'll see changes to gettimeofday
that cooperate with RTLinux.

When we have a RT task with a deadline at X and Linux expects a timer tick
in X/2 we deliver the Linux tick without delay and still don't miss the RT
task deadline.