Re: sched_clock() uses are broken

Nick Piggin
2006-05-07T14:18:12Z

Russell King wrote:

> Also, any comments on update_cpu_clock() and current_sched_time() both
> appearing to be buggy, or am I barking up the wrong tree with those?

Can't remember off the top of my head who put those in, sorry.

Aside from the fact that they appear to be fundamentally buggy anyway
because we don't require exact ns intervals from sched_clock() at the
best of times, I think your wrapping fix for them looks correct.

Thanks,
Nick

--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com