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

From: Christoph Lameter
Date: Thu Jul 14 2005 - 15:44:16 EST


On Thu, 14 Jul 2005, Linus Torvalds wrote:

> So the _sane_ way to do timeouts is to define an _arbitrary_ clock that is
> just an integer counter. None of this "nanoseconds + full seconds" crap.
> None of this stupid confusion with "real time". You select something that
> is conceptually _clearly_ somethign else, and that will never get confused
> when root sets the time backwards or anything like that.
>
> In other words, you select the thing we call "jiffies".

AFAIK John simply wants to change jiffies to count in nanoseconds since
bootup and then call it "clock_monotonic". One 64 bit value no splitting
into seconds and nanoseconds anymore. This allows arbitrary length
intervals between timer interrupts.

-
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/