Re: [PATCH 2.6.14] X86_64 delay resolution

From: Andi Kleen
Date: Fri Dec 09 2005 - 13:52:53 EST


Ross Biro <ross.biro@xxxxxxxxx> writes:

> On x86_64 smp systems, we noticed that the amount of time udelay would
> spin for varied from cpu to cpu. In our test case, udelay(10) would
> only delay for 9.7us on some cpus while on others it would delay for
> the full 10us. We tracked the problem down to an unnecessary attempt
> to avoid arithmetic overflow. Here's a fix complete with an overly
> verbose comment.

I applied it without the comment and without the extra sets
of brackets. Please submit future x86-64 patches directly
to me and also Signed them off and use toplevel diffs.

Thanks,
-Andi
-
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/