Messages in this thread | | | Date | Fri, 28 May 2010 15:42:33 +0200 | From | Johannes Stezenbach <> | Subject | Re: [PATCH] sched_clock: Provide local_clock() and improve documentation |
| |
On Fri, May 28, 2010 at 03:13:34PM +0200, Peter Zijlstra wrote: > + * The !IRQ-safetly of sched_clock() and sched_clock_cpu() comes from things
typo ^
Thank you for adding documentation. I have one additional question regarding wrapping of sched_clock(). I know it is used for timestamps in ftrace and printk, so it's desirable that it never wraps. But on several embedded systems it wraps after a few hours. Bug or just a minor flaw? If someone knows it would be nice to get that documented, too.
See also http://lkml.org/lkml/2010/4/26/340
Johannes
| |