Re: [PATCH] x86 alternatives : fix LOCK_PREFIX race with preemptiblekernel and CPU hotplug

From: H. Peter Anvin
Date: Thu Aug 14 2008 - 17:51:00 EST


Andi Kleen wrote:
So, unless these calculus are completely bogus, the difference between the nop
and the DS case seems not to be statistically significant.

My understanding was that the nops only make a measurable difference in the -pg/mcount/ftrace patched out case where every function call starts with a 5
byte nop.

Presumably function calls are much more common than lock prefix operations.

Yeah, although the LOCK prefix was measurable.

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