Files
erofs-linux/kernel
Daniel Thompson 13dbeb384d timers, sched/clock: Remove suspend from clock_read_data()
Currently cd.read_data.suspended is read by the hotpath function
sched_clock(). This variable need not be accessed on the
hotpath. In fact, once it is removed, we can remove the
conditional branches from sched_clock() and install a dummy
read_sched_clock function to suspend the clock.

The new master copy of the function pointer
(actual_read_sched_clock) is introduced and is used for all
reads of the clock hardware except those within sched_clock
itself.

Suggested-by: Thomas Gleixner <[email protected]>
Signed-off-by: Daniel Thompson <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Russell King <[email protected]>
Cc: Will Deacon <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
2015-03-27 08:33:58 +01:00
..
2015-01-25 23:17:28 -05:00
…
…
2015-02-13 21:21:36 -08:00
…
…
…
…
…
…
…
…
…
2015-02-17 14:34:51 -08:00
…
…
…
…
2014-12-22 15:40:48 +01:00
2015-01-17 10:02:23 +13:00
…
…
2015-02-17 14:34:51 -08:00
…
…
…
2015-02-28 09:57:51 -08:00
…
…
…
…
…