[patch 00/16] arm: Replace arm sched_clock by clocksource based sched_clock
robherring2 at gmail.com
Sun Jun 12 22:32:28 EDT 2011
On 04/23/2011 03:54 PM, Thomas Gleixner wrote:
> Most of ARM sched_clocks is using the timekeeping clocksource as the
> sched_clock. Only versatile uses a different clock for it, but there
> is no real reason why it can't use the clocksource as well.
> The core timekeeping code makes already sure that we don't wrap the
> timekeeper and we can base a sched_clock easily on that.
> It uses the read function of the clocksource and keeps track of time
> independent of the timekeeping code as the ARM sched_clock
> implementation does. It also uses it's own sequence counter so
> sched_clock is not dependent on xtime_lock. The update sequence is
> just adding offsets once in a while and runs from do_timer() which
> also makes sure that only one core tries to update it.
> Only lightly tested on orion. Please give it a go.
> Another 650 lines gone :)
What's happening with this patch series? Just wondering if I'll need to
add yet another sched_clock implementation or not.
More information about the linux-arm-kernel