summaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorChris Metcalf2016-11-28 23:35:20 +0100
committerThomas Gleixner2016-11-29 18:02:58 +0100
commitec4101e8903e318b9fd4e3bbf72b1eaba53c64e1 (patch)
treec3e5196fea272e92a229707dc861f9545953f933 /kernel/trace
parenttimekeeping: Ignore the bogus sleep time if pm_trace is enabled (diff)
downloadkernel-qcow2-linux-ec4101e8903e318b9fd4e3bbf72b1eaba53c64e1.tar.gz
kernel-qcow2-linux-ec4101e8903e318b9fd4e3bbf72b1eaba53c64e1.tar.xz
kernel-qcow2-linux-ec4101e8903e318b9fd4e3bbf72b1eaba53c64e1.zip
timekeeping/clocksource_cyc2ns: Document intended range limitation
The "cycles" argument should not be an absolute clocksource cycle value, as the implementation's arithmetic will overflow relatively easily with wide (64 bit) clocksource counters. For performance, the implementation is simple and fast, since the function is intended for only relatively small delta values of clocksource cycles. [jstultz: Fixed up to merge against HEAD & commit message tweaks, also included rewording suggestion by Ingo] Signed-off-by: Chris Metcalf <cmetcalf@mellanox.com> Signed-off-by: John Stultz <john.stultz@linaro.org> Cc: Prarit Bhargava <prarit@redhat.com> Cc: Richard Cochran <richardcochran@gmail.com> Link: http://lkml.kernel.org/r/1480372524-15181-4-git-send-email-john.stultz@linaro.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace')
0 files changed, 0 insertions, 0 deletions