05/07/2019 12:27, Phil Yang:
> Phil Yang (3):
> eal/mcslock: add mcs queued lock implementation
> eal/mcslock: use generic msc queued lock on all arch
> test/mcslock: add mcs queued lock unit test
Applied, thanks
This patch set added MCS lock library and its unit test.
The MCS lock (proposed by John M. Mellor-Crummey and Michael L. Scott) provides
scalability by spinning on a CPU/thread local variable which avoids expensive
cache bouncings. It provides fairness by maintaining a list of acquirers and
passin
2 matches
Mail list logo