Re: [PATCH] RFC: nomadik: expand timesource to 63 bits

Thomas Gleixner
2010-11-12T10:31:49Z

[-- Attachment #1: Type: TEXT/PLAIN, Size: 555 bytes --]

On Fri, 12 Nov 2010, Linus Walleij wrote:

> Uwe Kleine-König wrote:
>
> > Instead of implementing sched_clock for each architecture seperatly,
> > wouldn't it be nice to have a generic sched_clock that uses the
> > architecture's clocksource? I tried to implement that some time ago,
> > but tglx shoot it down because of locking problems.
>
> I was and still am a big fan of this approach, I am willing to help
> testing it if you want to dust off this patch set...

sched_clock is not necessarily the same as the current clocksource.

Thanks,

tglx