aboutsummaryrefslogtreecommitdiff
path: root/Documentation/timers
AgeCommit message (Collapse)AuthorFilesLines
2013-10-27doc: add missing files to timers/00-INDEXHenrik Austad1-0/+4
- timers-howto was added by commit 0fcb8081 (Documentation: Add timers/timers-howto.txt) - NO_HZ was added by commit 0c87f9b5 (nohz_full: Add documentation.) Cc: Patrick Pannuto <[email protected]> Signed-off-by: Henrik Austad <[email protected]> Reviewed-by: Paul E. McKenney <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
2013-08-18nohz_full: Add testing information to documentationPaul E. McKenney1-10/+34
This commit adds information about testing nohz_full, and also emphasizes the fact that you need a multi-CPU system to get any benefit from nohz_full. Signed-off-by: Paul E. McKenney <[email protected]> Acked-by: Frederic Weisbecker <[email protected]> Reviewed-by: Josh Triplett <[email protected]>
2013-06-10nohz_full: Document additional restrictionsPaul E. McKenney1-3/+18
This commit calls out the potential for slowing the tick even when there are multiple runnable processes per CPU, It also points out that current mainlined version keeps the tick going on at least one CPU even when all CPUs are otherwise idle. Finally, it notes the need for a 1-HZ tick in order to calculate CPU load, maintain sched average, compute CFS entity vruntime, compute avenrun, and carry out load balancing. Signed-off-by: Paul E. McKenney <[email protected]> Reviewed-by: Josh Triplett <[email protected]>
2013-06-10nohz_full: Update based on Sedat Dilek reviewPaul E. McKenney1-9/+49
Make it more clear that there are three options, and give hints as to which of the three is most likely to be useful in different situations. Reported-by: Sedat Dilek <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Reviewed-by: Josh Triplett <[email protected]>
2013-04-27nohz_full: Add documentation.Paul E. McKenney1-0/+273
Signed-off-by: Paul E. McKenney <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Arjan van de Ven <[email protected]> Cc: Kevin Hilman <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Olivier Baetz <[email protected]> Reviewed-by: Randy Dunlap <[email protected]> Reviewed-by: Borislav Petkov <[email protected]> Reviewed-by: Kevin Hilman <[email protected]>
2011-09-27doc: fix broken referencesPaul Bolle1-1/+1
There are numerous broken references to Documentation files (in other Documentation files, in comments, etc.). These broken references are caused by typo's in the references, and by renames or removals of the Documentation files. Some broken references are simply odd. Fix these broken references, sometimes by dropping the irrelevant text they were part of. Signed-off-by: Paul Bolle <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
2011-05-17doc: timers-howto: fix a typo ("unsgined")Jonathan Neuschäfer1-1/+1
Signed-off-by: Jonathan Neuschäfer <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
2010-11-01tree-wide: fix comment/printk typosUwe Kleine-König1-1/+1
"gadget", "through", "command", "maintain", "maintain", "controller", "address", "between", "initiali[zs]e", "instead", "function", "select", "already", "equal", "access", "management", "hierarchy", "registration", "interest", "relative", "memory", "offset", "already", Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
2010-10-26Documentation/timers/hpet_example.c: add supporting info for hpet_exampleJaswinder Singh Rajput1-0/+27
$./hpet_example info /dev/hpet -hpet: executing info hpet_info: hi_irqfreq 0x0 hi_flags 0x0 hi_hpet 0 hi_timer 2 Signed-off-by: Jaswinder Singh Rajput <[email protected]> Cc: Clemens Ladisch <[email protected]> Cc: "Venkatesh Pallipadi (Venki)" <[email protected]> Cc: john stultz <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2010-08-04Documentation: Add timers/timers-howto.txtPatrick Pannuto1-0/+105
This file seeks to explain the nuances in various delays; many driver writers are not necessarily familiar with the various kernel timers, their shortfalls, and quirks. When faced with ndelay, udelay, mdelay, usleep_range, msleep, and msleep_interrubtible the question "How do I just wait 1 ms for my hardware to latch?" has the non-intuitive "best" answer: usleep_range(1000,1500) This patch is followed by a series of checkpatch additions that seek to help kernel hackers pick the best delay. Signed-off-by: Patrick Pannuto <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: Randy Dunlap <[email protected]> Cc: Andrew Morton <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
2010-06-01Documentation/timers/hpet_example.c: only build on X86Randy Dunlap1-1/+1
We should only build hpet_example on x86[-64], where it is implemented. It can cause build errors on other architectures. Signed-off-by: Randy Dunlap <[email protected]> Reported-by: Heiko Carstens <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Arjan van de Ven <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2010-05-24Documentation/timers/hpet_example: drop duplicate header filesAndrea Gelmini1-2/+0
Documentation/timers/hpet_example.c: fcntl.h is included more than once. Documentation/timers/hpet_example.c: signal.h is included more than once. Signed-off-by: Andrea Gelmini <[email protected]> Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2010-03-12Documentation/timers/: split txt and source filesRandy Dunlap4-271/+281
Documentation/timers/hpet.txt: Expose example and tool source files in the Documentation/timers/ directory in their own files instead of being buried (almost hidden) in readme/txt files. This should help to prevent bitrot. This will make them more visible/usable to users who may need to use them, to developers who may need to test with them, and to anyone who would fix/update them if they were more visible. Also, if any of these possibly should not be in the kernel tree at all, it will be clearer that they are here and we can discuss if they should be removed. Signed-off-by: Randy Dunlap <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2009-11-09fix URL in hpet.txtAmerigo Wang1-1/+1
That URL is out of date. Update it. Cc: Thomas Gleixner <[email protected]> Cc: Randy Dunlap <[email protected]> Cc: Matt LaPlante <[email protected]> Cc: Jiri Kosina <[email protected]> Signed-off-by: WANG Cong <[email protected]> Acked-by: Matt LaPlante <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
2009-06-12trivial: Miscellaneous documentation typo fixesMatt LaPlante2-2/+2
Fix various typos in documentation txts. Signed-off-by: Matt LaPlante <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
2008-07-31hpet: /dev/hpet - fixes and cleanupDavid Brownell1-22/+21
Minor /dev/hpet updates and bugfixes: * Remove dead code, mostly remnants of an incomplete/unusable kernel interface ... noted when addressing "sparse" warnings: + hpet_unregister() and a routine it calls + hpet_task and all references, including hpet_task_lock + hpet_data.hd_flags (and HPET_DATA_PLATFORM) * Correct and improve boot message: + displays *counter* (shared between comparators) bit width, not *timer* bit widths (which are often mixed) + relabel "timers" as "comparators"; this is less confusing, they are not independent like normal timers are (sigh) + display MHz not Hz; it's never less than 10 MHz. * Tighten and correct the userspace interface code + don't accidentally program comparators in 64-bit mode using 32-bit values ... always force comparators into 32-bit mode + provide the correct bit definition flagging comparators with periodic capability ... the ABI is unchanged * Update Documentation/hpet.txt + be more correct and current + expand description a bit + don't mention that now-gone kernel interface Plus, add a FIXME comment for something that could cause big trouble on systems with more capable HPETs than at least Intel seems to ship. It seems that few folk use this userspace interface; it's not very usable given the general lack of HPET IRQ routing. I'm told that the only real point of it any more is to mmap for fast timestamps; IMO that's handled better through the gettimeofday() vsyscall. Signed-off-by: David Brownell <[email protected]> Acked-by: Clemens Ladisch <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
2008-07-31Merge branch 'linus' into timers/hpetIngo Molnar1-1/+1
2008-07-26Documentation cleanup: trivial misspelling, punctuation, and grammar ↵Matt LaPlante1-1/+1
corrections. Cc: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-24documentation: move hpet.txt to timers/ subdirectoryRandy Dunlap2-0/+310
Move hpet.txt to Documentation/timers/ subdirectory. Add 00-INDEX to Documentation/timers/ subdirectory. Signed-off-by: Randy Dunlap <[email protected]> Cc: tglx <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
2008-04-17Documentation: move timer related documentation to a single placeThomas Gleixner3-0/+500
We have two directories with timer related information in Documentation/: hrtimers/ and hrtimer/. timer_stats are not restricted to hrtimers. Move all those files into Documentation/timers where we can pile up other timer related docs as well. Pointed-out-by: Randy Dunlap <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>