diff options
| author | Thomas Gleixner <[email protected]> | 2015-04-14 21:08:37 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2015-04-22 15:06:49 +0000 |
| commit | 868a3e915f7f5eba8f8cb4f7da2276760807c51c (patch) | |
| tree | dcec10d02c9613b5cad4f32d6d3ed7352825b1c8 /lib/timerqueue.c | |
| parent | hrtimer: Get rid of softirq time (diff) | |
| download | kernel-868a3e915f7f5eba8f8cb4f7da2276760807c51c.tar.gz kernel-868a3e915f7f5eba8f8cb4f7da2276760807c51c.zip | |
hrtimer: Make offset update smarter
On every tick/hrtimer interrupt we update the offset variables of the
clock bases. That's silly because these offsets change very seldom.
Add a sequence counter to the time keeping code which keeps track of
the offset updates (clock_was_set()). Have a sequence cache in the
hrtimer cpu bases to evaluate whether the offsets must be updated or
not. This allows us later to avoid pointless cacheline pollution.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Preeti U Murthy <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: Viresh Kumar <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: John Stultz <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: John Stultz <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
