Messages in this thread |  | | | From | David Howells <> | | Subject | Re: [PATCH 1/19] MUTEX: Introduce simple mutex implementation | | Date | Fri, 16 Dec 2005 11:30:01 +0000 |
| |
David Howells <dhowells@redhat.com> wrote:
> No, they're not. LL/SC is more flexible than CMPXCHG because under some > circumstances, you can get away without doing the SC,
Of course, CMPXCHG doesn't have to store either, though it still performs a locked-write-cycle on x86 if I remember correctly.
David - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |