Re: [PATCH] SLUB use cmpxchg_local

From: Christoph Lameter
Date: Tue Aug 21 2007 - 20:11:54 EST


On Tue, 21 Aug 2007, Mathieu Desnoyers wrote:

> - Rounding error.. you seem to round at 0.1ms, but I keep the values in
> cycles. The times that you get (1.1ms) seems strangely higher than
> mine, which are under 1000 cycles on a 3GHz system (less than 333ns).
> I guess there is both a ms - ns error there and/or not enough
> precision in your numbers.

Nope the rounding for output is depending on the amount. Rounds to one
digit after whatever unit we figured out is best to display.

And multiplications (cyc2ns) do not result in rounding errors.

-
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/