Re: [RFC][PATCH] use cycle_t instead of u64 in struct time_interpolator

From: Christoph Lameter
Date: Wed Jan 03 2007 - 12:50:27 EST


On Tue, 2 Jan 2007, Helge Deller wrote:

> As far as I could see, this patch does not change anything for the
> existing architectures which use this framework (IA64 and SPARC64),
> since "cycles_t" is defined there as unsigned 64bit-integer anyway
> (which then makes this patch a no-change for them).

The 64bit nature of some entities was so far necessary to get the
proper accuracy of interpolation. Maybe it can be made to work with 32 bit
entities. The macro GET_TI_SECS must work correctly and the less bits are
specified in shift the less self-tuning accuracy you will get.
-
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/