Re: [PATCH v3 0/4] MCS Lock: MCS lock code cleanup and optimizations

From: Michel Lespinasse
Date: Wed Nov 06 2013 - 16:59:37 EST


On Wed, Nov 6, 2013 at 1:42 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> Perhaps I'm missing something here, but what is MCS lock and what is the
> value?

Its a kind of queued lock where each waiter spins on a a separate
memory word, instead of having them all spin on the lock's memory
word. This helps with scalability when many waiters queue on the same
lock.

--
Michel "Walken" Lespinasse
A program is never fully debugged until the last user dies.
--
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/