Re: [PATCH] x86 : spinlock use LOCK_PREFIX

From: Linus Torvalds
Date: Fri Aug 15 2008 - 13:33:52 EST




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.

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