Re: sched_clock() uses are broken
From: Nick Piggin
Date: Tue May 02 2006 - 20:54:40 EST
Andi Kleen wrote:
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.
Other problem is that some people didn't RTFM and have started trying to
use it for precise accounting :(
--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com
-
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/