Re: Self-tuning logic for the time interpolators?

From: Christoph Lameter <christoph_at_lameter.com>
Date: 2004-08-05 15:05:11
On Wed, 4 Aug 2004, Andi Kleen wrote:

> > +	else {
> > +		/* Check for the necessity to adjust every minute
> [...]
> > +		if (jiffies >= 2*TIME_ADJUST_COUNTDOWN) {
>
> But INITIAL_JIFFIES is ((unsigned long)(unsigned int) (-300*HZ))
> It will probably not do what you want.

Hmm. I have

/*
 * Have the 32 bit jiffies value wrap 5 minutes after boot
 * so jiffies wrap bugs show up earlier.
 */
#define INITIAL_JIFFIES ((unsigned long)(0))


in 2.6.8-rc2-mm1 (weird comment. There is certainly something to your
post). It works just as intended but I better take that out. Thanks.



-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Aug 5 01:13:38 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:29 EST