| Date | Mon, 20 Apr 2015 15:00:33 +0530 | From | Preeti U Murthy <> | Subject | Re: [patch 08/39] hrtimer: Make offset update smarter |
| |
On 04/15/2015 02:38 AM, Thomas Gleixner wrote: >>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 <tglx@linutronix.de> >>Cc: John Stultz <john.stultz@linaro.org>
Reviewed-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>
|