[PATCH] arm: sched: stop sched_clock() during suspend

Linus Walleij linus.walleij at linaro.org
Mon Oct 22 18:28:32 EDT 2012

On Mon, Oct 22, 2012 at 7:05 PM, Kevin Hilman
<khilman at deeprootsystems.com> wrote:

> However, in light of RT throttling, this a correctness issue for process
> accounting, so I agree that this should be done for all platforms
> instead of providing an optional 'needs suspend' version of the API,
> even though it means printk times no longer reflect time spent
> suspended.

Maybe we should get printk() to use the best clocksource

The reason AFAICT that printk() is using sched_clock() is that
it's supposed to be fast. But now it seems that it's not going
to return what printk() needs anymore.

(Dragging Stultz & Gleixner into this...)

Linus Walleij

More information about the linux-arm-kernel mailing list