Re: [PATCH] sched_clock: fix jiffie fallback clock

From: Ingo Molnar
Date: Wed Sep 17 2008 - 06:05:50 EST



* Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:

> David pointed out that the default sched_clock() fallback is broken in
> that it wraps too soon. Fix this by using the 64 bit jiffie value so
> that we're large enough to overflow properly.
>
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> CC: David Howells <dhowells@xxxxxxxxxx>

applied to tip/sched/urgent, thanks Peter!

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