aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-07-10 18:43:21 -0400
committerBen Hutchings <ben@decadent.org.uk>2012-07-25 04:11:35 +0100
commita105e023adf852c9847e1fe7f0bc151ce0339914 (patch)
treef8d89d3c9a524e616a197940bd68efc0596dd4f9 /usr
parent8a1ba973a23bd94a4ce34ffa543bf0e0d4ec13ff (diff)
timekeeping: Maintain ktime_t based offsets for hrtimers
This is a backport of 5b9fe759a678e05be4937ddf03d50e950207c1c0 We need to update the hrtimer clock offsets from the hrtimer interrupt context. To avoid conversions from timespec to ktime_t maintain a ktime_t based representation of those offsets in the timekeeper. This puts the conversion overhead into the code which updates the underlying offsets and provides fast accessible values in the hrtimer interrupt. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <johnstul@us.ibm.com> Reviewed-by: Ingo Molnar <mingo@kernel.org> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Acked-by: Prarit Bhargava <prarit@redhat.com> Link: http://lkml.kernel.org/r/1341960205-56738-4-git-send-email-johnstul@us.ibm.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de> [John Stultz: Backported to 3.2] Cc: Prarit Bhargava <prarit@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Linux Kernel <linux-kernel@vger.kernel.org> Signed-off-by: John Stultz <johnstul@us.ibm.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions