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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mathieu Desnoyers <mathieu.desnoyers@...>
Cc: Ingo Molnar <mingo@...>, Jeremy Fitzhardinge <jeremy@...>, Harvey Harrison <harvey.harrison@...>, Andi Kleen <andi@...>, Linus Torvalds <torvalds@...>, Steven Rostedt <rostedt@...>, Steven Rostedt <srostedt@...>, LKML <linux-kernel@...>, Thomas Gleixner <tglx@...>, Peter Zijlstra <peterz@...>, Andrew Morton <akpm@...>, David Miller <davem@...>, Roland McGrath <roland@...>, Ulrich Drepper <drepper@...>, Rusty Russell <rusty@...>, Gregory Haskins <ghaskins@...>, Arnaldo Carvalho de Melo <acme@...>, Luis Claudio R. Goncalves <lclaudio@...>, Clark Williams <williams@...>, Christoph Lameter <cl@...>, H. Peter Anvin <hpa@...>
Date: Thursday, August 14, 2008 - 5: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 preempt..., Mathieu Desnoyers, (Thu Aug 14, 4:58 pm)
[PATCH] x86 : spinlock use LOCK_PREFIX, Mathieu Desnoyers, (Fri Aug 15, 12:56 pm)
Re: [PATCH] x86 : spinlock use LOCK_PREFIX, Linus Torvalds, (Fri Aug 15, 1:31 pm)
Re: [PATCH] x86 : spinlock use LOCK_PREFIX, H. Peter Anvin, (Fri Aug 15, 4:27 pm)
[PATCH] x86 : revert replace LOCK_PREFIX in futex.h, Mathieu Desnoyers, (Fri Aug 15, 12:45 pm)
Re: [PATCH] x86 alternatives : fix LOCK_PREFIX race with pre..., Andi Kleen, (Thu Aug 14, 5:20 pm)