Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

From: Chris Friesen
Date: Thu Jul 14 2005 - 12:15:46 EST


Linus Torvalds wrote:

There's absolutely nothing wrong with "jiffies", and anybody who thinks that

msleep(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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/