Re: sched_clock() uses are broken

From: Andi Kleen
Date: Tue May 02 2006 - 13:01:24 EST


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

-
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/