Re: [PATCH] Avoid overflows in kernel/time.c

From: H. Peter Anvin
Date: Sat Dec 01 2007 - 20:53:59 EST


Alan Cox wrote:

Its visibile for people doing PAL media processing and TV sync work.

Longer term we have high precision timers and tickless so for now we can
jut do the HZ == 300 math in steps to avoid the overflow. Slower but in
time it won't matter.


Just use the patch... I don't think a dependency on bc will be a problem for anyone (but it should, indeed, be documented -- together with everything else we haven't documented yet.)

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