]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
clocksource: Improve comment explaining clocks_calc_max_nsecs()'s 50% safety margin
authorJohn Stultz <john.stultz@linaro.org>
Thu, 2 Apr 2015 03:34:39 +0000 (20:34 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Apr 2015 06:18:35 +0000 (08:18 +0200)
commit8e56f33f8439b2f8e7f4ae7f3d0bfe683ecc3b09
tree34bfce3a900d5b38f8c3af685bc1841356c9bb19
parent0fa88cb4b82b5cf7429bc1cef9db006ca035754e
clocksource: Improve comment explaining clocks_calc_max_nsecs()'s 50% safety margin

Ingo noted that the description of clocks_calc_max_nsecs()'s
50% safety margin was somewhat circular. So this patch tries
to improve the comment to better explain what we mean by the
50% safety margin and why we need it.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1427945681-29972-20-git-send-email-john.stultz@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/time/clocksource.c