dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/Documentation/timers
Patrick Pannuto 0fcb80818b Documentation: Add timers/timers-howto.txt
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 <ppannuto@codeaurora.org>
Cc: apw@canonical.com
Cc: corbet@lwn.net
Cc: arjan@linux.intel.com
Cc: Randy Dunlap <rdunlap@xenotime.net>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <1280786467-26999-3-git-send-email-ppannuto@codeaurora.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2010-08-04 11:00:45 +02:00
..
00-INDEX Documentation/timers/: split txt and source files 2010-03-12 15:52:35 -08:00
Makefile Documentation/timers/hpet_example.c: only build on X86 2010-06-01 10:05:19 -07:00
highres.txt Documentation cleanup: trivial misspelling, punctuation, and grammar corrections. 2008-07-26 12:00:06 -07:00
hpet.txt Documentation/timers/: split txt and source files 2010-03-12 15:52:35 -08:00
hpet_example.c Documentation/timers/hpet_example: drop duplicate header files 2010-05-24 07:30:56 -07:00
hrtimers.txt Documentation: move timer related documentation to a single place 2008-04-17 12:22:31 +02:00
timer_stats.txt trivial: Miscellaneous documentation typo fixes 2009-06-12 18:01:47 +02:00
timers-howto.txt Documentation: Add timers/timers-howto.txt 2010-08-04 11:00:45 +02:00