Re: [PATCH] Add an offset in the cyc2ns computation to fix sched_clock jumps

From: Andi Kleen
Date: Fri Mar 16 2007 - 14:22:47 EST


On Friday 16 March 2007 19:14, Guillaume Chazarain wrote:
> Hello,
>
> The scheduling problems I reported in the thread:
> http://lkml.org/lkml/2007/3/3/128
> are caused by the set_cyc2ns_scale() function called when the CPU speed changes.
> Changing the scale causes a warp in the value returned by sched_clock().

I already fixed this myself in a similar way (but didn't push it out yet)

But for .21 I ended up deciding on your revert patch, even though it will give bad
performance.

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