Re: [PATCH] x86 : spinlock use LOCK_PREFIX

From: H. Peter Anvin
Date: Fri Aug 15 2008 - 16:35:02 EST


Linus Torvalds wrote:

On Fri, 15 Aug 2008, Mathieu Desnoyers wrote:
Unless there a rationale for this, I think these be changed to LOCK_PREFIX
too.

grep "lock ;" include/asm-x86/spinlock.h
"lock ; cmpxchgw %w1,%2\n\t"
asm volatile("lock ; xaddl %0, %1\n"
"lock ; cmpxchgl %1,%2\n\t"

Ack.


Full patch series applied to tip:x86/alternatives; we'll migrate it to tip:x86/urgent for upstream delivery after some testing.

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