Re: sched_clock() uses are broken

Andi Kleen
2006-05-02T17:01:22Z

On Tuesday 02 May 2006 18:54, Christopher Friesen wrote:
> Andi Kleen wrote:
>
> > Agreed it's a problem, but probably a small one. At worst you'll get
> > a small scheduling hickup every half year, which should be hardly
> > that big an issue.
>
> Presumably this would be bad for soft-realtime embedded things. Set-top
> boxes, etc.

SCHED_RR/FIFO are not affected. AFAIK it's only used by the interactivity
detector in the normal scheduler. Worst case that happens is that a
process is not detected to be interactive when it should once, which
gives it only a small penalty. On the next time slice everything will be ok again.

-Andi