Re: [PATCH 1/19] MUTEX: Introduce simple mutex implementation

David Howells
2005-12-13T09:55:11Z

Nick Piggin <nickpiggin@yahoo.com.au> wrote:

> We have atomic_cmpxchg. Can you use that for a sufficient generic
> implementation?

No. CMPXCHG/CAS is not as available as XCHG, and it's also unnecessary.

David