Subject: Re: Preparing callout(9) for a HZ-less kernel
To: David Laight <david@l8s.co.uk>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 10/23/2007 08:44:26
On Oct 23, 2007, at 12:02 AM, David Laight wrote:

> My 'gut feeling' is that it is a bad one.
> I can see reasons for not actually taking an interrupt on every tick,
> but if you remove 'ticks' completely then you will have problems
> with busy systems taking far too many timer interupts - since you will
> rarely do the work for more than one expired callout per interrupt.


This can be mitigated by providing APIs that "round up" to a  
particular time boundary.  Most things in the kernel will be able to  
use this.

-- thorpej