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

Russell King
2005-07-15T08:42:26Z

On Thu, Jul 14, 2005 at 05:42:15PM -0700, Linus Torvalds wrote:
> So this is why I so strongly argue that we should have a constant HZ, but
> a dynamic _increment_ of "jiffies". Nobody (obviously) depends on jiffies
> being constant, so it's ok to increment jiffies by pretty much any value.

I agree. Isn't this exactly what HZ=1000 with VST achieves? We
know this works already...

> But I really wouldn't be surprised if the bogomips calibration loop was
> really the only thing that needed some small tweaking for increments of
> other than one.

Having run VST on ARM, VST must be disabled while the bogomips
calibrations have completed - I suspect VST requires some sort of
enable/disable counted system like we do for interrupts and the hlt
thing, so that the hotplug CPU code can do it's bogomips calibration
appropriately.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core