Skip to content

arm: Replace arm sched_clock by clocksource based sched_clock

john stultz linux-arm-kernel 1 version New

Get series with b4
b4 am 1303758649.2816.57.camel@work-vm

Versions newest first

  1. v1 Latest0 of 16 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 16 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 00/16] arm: Replace arm sched_clock by clocksource based sched_clock
Quoted 6 lines · Linus Walleij

2011/4/23 Thomas Gleixner <[email protected]>:

Quoted 3 lines

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.

Quoted 6 lines

Excellent patch set!

Quoted 1 line

Another 650 lines gone :)

Any reason why we can't simply move *all* of these to drivers/clocksource/* and proceed with consolidation there?

This gives me some pause, as having the clocksources in the platform code makes it easier to know what platform needs to be tested when a change is made. The rule so far has been if more then one arch can make use of it, it should be moved to the drivers/clocksource dir. Otherwise, leave it close to any arch specific code that manages the hardware.

Quoted 2 lines

It must be a pain having to grep through the tree to find all of these (even though I bet you know them all by heart now).

Not sure if grepping backwards through config dependencies to see who actually uses a specific clocksource would be easier. But I'll admit that sharing code is likely more important.

thanks
-john