Re: dynamic-hz

From: Pavel Machek
Date: Mon Dec 13 2004 - 11:22:09 EST


> > I'm not sure what the above "scedule_timeout(HZ/10)" is supposed to
> > do, but the parameter it gets in 1000hz is "100" so I assume this
> > is because we want to wait for 100ms, and in 1000hz that equals
> > 100 cycles. Correct?
> `schedule_timeout(HZ/x)' lets it wait for 1/x'th second.

...small problem is that for HZ lower than x it does not wait at all
Boycott Kodak -- for their patent abuse against Java.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at