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

From: Andi Kleen
Date: Thu Aug 14 2008 - 17:19:25 EST


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

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