Re: [RFC][PATCH 0/7] sched: Optimize sched_clock bits

From: Peter Zijlstra
Date: Tue Dec 10 2013 - 09:48:17 EST


On Tue, Dec 03, 2013 at 04:10:53PM +0100, Peter Zijlstra wrote:
> Also, static_key and related APIs suck donkey ballz -- I did indeed
> promise myself I'd not step into that bike shed contest but having had
> to use them again *painfull*.

> POST:
>
> [ 5.061000] sched_clock_stable: 1
> [ 18.916000] (cold) sched_clock: 1335206
> [ 32.576000] (cold) local_clock: 1365236
> [ 32.580000] (warm) sched_clock: 11771
> [ 32.584000] (warm) local_clock: 14725

It looks like this was using the jiffies (tsc_disabled) instead of rdtsc path.

/me curses static_key and co more.
--
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/