]> git.baikalelectronics.ru Git - kernel.git/commit
time: Improve documentation of timekeeeping_adjust()
authorJohn Stultz <john.stultz@linaro.org>
Fri, 28 Oct 2011 01:12:42 +0000 (18:12 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 28 Oct 2011 06:57:38 +0000 (08:57 +0200)
commit70edd1ef3277b079466853b0c39c2fbccd0282f8
treef5a6a5f9c199d6b3ed7a973dfb7556ad2af2bf5a
parent8b7621f28716220a686eb6164088c73f7a0280f1
time: Improve documentation of timekeeeping_adjust()

After getting a number of questions in private emails about the
math around admittedly very complex timekeeping_adjust() and
timekeeping_big_adjust(), I figure the code needs some better
comments.

Hopefully the explanations are clear enough and don't muddy the
water any worse.

Still needs documentation for ntp_error, but I couldn't recall
exactly the full explanation behind the code that's there
(although I do recall once working it out when Roman first
proposed it). Given a bit more time I can probably work it out,
but I don't want to hold back this documentation until then.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Cc: Chen Jie <chenj@lemote.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1319764362-32367-1-git-send-email-john.stultz@linaro.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/time/timekeeping.c