Linus Torvalds wrote:
There's absolutely nothing wrong with "jiffies", and anybody who thinks thatmsleep(20); is fundamentally better than timeout = jiffies + HZ/50;just doesn't realize that the latter is a bit more complicated exactly because the latter is a hell of a lot more POWERFUL.
But if all I really want is to sleep for 20ms, what does the additional power actually buy me?
Chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Linus Torvalds <torvalds@osdl.org>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- References:
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Lee Revell <rlrevell@joe-job.com>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Chris Wedgwood <cw@f00f.org>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: dean gaudet <dean-list-linux-kernel@arctic.org>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Chris Wedgwood <cw@f00f.org>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: dean gaudet <dean-list-linux-kernel@arctic.org>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Lee Revell <rlrevell@joe-job.com>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Linus Torvalds <torvalds@osdl.org>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Arjan van de Ven <arjan@infradead.org>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Vojtech Pavlik <vojtech@suse.cz>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Linus Torvalds <torvalds@osdl.org>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- Prev by Date: Re: moving DRM header files
- Next by Date: Re: [RFC][PATCH] split PCI probing code [1/9]
- Previous by thread: Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- Next by thread: Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- Index(es):
