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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Thursday, August 14, 2008 - 2:20 pm

> So, unless these calculus are completely bogus, the difference between the nop

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] x86 alternatives : fix LOCK_PREFIX race with preem ..., Mathieu Desnoyers, (Thu Aug 14, 1:58 pm)
Re: [PATCH] x86 alternatives : fix LOCK_PREFIX race with p ..., Andi Kleen, (Thu Aug 14, 2:20 pm)
[PATCH] x86 : revert replace LOCK_PREFIX in futex.h, Mathieu Desnoyers, (Fri Aug 15, 9:45 am)
[PATCH] x86 : spinlock use LOCK_PREFIX, Mathieu Desnoyers, (Fri Aug 15, 9:56 am)
Re: [PATCH] x86 : spinlock use LOCK_PREFIX, Linus Torvalds, (Fri Aug 15, 10:31 am)
Re: [PATCH] x86 : spinlock use LOCK_PREFIX, H. Peter Anvin, (Fri Aug 15, 1:27 pm)