[PATCH] clocksource/cadence_ttc: Reuse clocksource as sched_clock

Thomas Gleixner tglx at linutronix.de
Fri Jul 5 02:30:47 EDT 2013


On Wed, 3 Jul 2013, Soren Brinkmann wrote:

> Reuse the TTC clocksource timer as sched clock, too. Since only a single
> sched clock is supported in Linux, this feature optional and can be
> selected through Kconfig.

This changelog doesn't make sense.

There can be only one active sched_clock, but that does no mean, that
you cannot have different implementations compiled in.

So if you disable this config which sched_clock is your kernel using?
And if you enable it, how is guaranteed that you end up with the ttc
sched_clock as the active one? Just due to initcall ordering?

Thanks,

	tglx



More information about the linux-arm-kernel mailing list