Re: [PATCH] New x86_64 time code for 2.5.70

From: john stultz (johnstul@us.ibm.com)
Date: Wed Jun 11 2003 - 16:23:30 EST


On Wed, 2003-06-11 at 13:10, Bryan O'Sullivan wrote:

+ if (offset > tick_usec) {
+ lost = offset / tick_usec;
+ offset %= tick_usec;
+ }

Hmmm. Thats likely part to blame for the lost-ticks code not working. I
believe tick_usec is calculated USER_HZ rather then HZ, so you'll be off
by an order of magnitude. I ran into the exact same problem.

thanks
-john

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:29 EST