Re: [PATCH] clocksource: document some basic timekeeping concepts

2014-06-03 Thread Peter Zijlstra
On Tue, Jun 03, 2014 at 01:13:05PM +0200, Linus Walleij wrote: > +Clock events > + > + > +Clock events are conceptually orthogonal to clock sources. The same hardware > +and register range may be used for the clock event, but it is essentially > +a different thing. > + > +You will

[PATCH] clocksource: document some basic timekeeping concepts

2014-06-03 Thread Linus Walleij
This adds some documentation about clock sources, clock events, the weak sched_clock() function and delay timers that answers questions that repeatedly arise on the mailing lists. Cc: Thomas Gleixner Cc: Nicolas Pitre Cc: Colin Cross Cc: John Stultz Cc: Peter Zijlstra Cc: Ingo Molnar

[PATCH] clocksource: document some basic timekeeping concepts

2014-06-03 Thread Linus Walleij
This adds some documentation about clock sources, clock events, the weak sched_clock() function and delay timers that answers questions that repeatedly arise on the mailing lists. Cc: Thomas Gleixner t...@linutronix.de Cc: Nicolas Pitre n...@fluxnic.net Cc: Colin Cross ccr...@google.com Cc: John

Re: [PATCH] clocksource: document some basic timekeeping concepts

2014-06-03 Thread Peter Zijlstra
On Tue, Jun 03, 2014 at 01:13:05PM +0200, Linus Walleij wrote: +Clock events + + +Clock events are conceptually orthogonal to clock sources. The same hardware +and register range may be used for the clock event, but it is essentially +a different thing. + +You will notice that