Re: [dpdk-dev] [PATCH v3 0/3] MCS queued lock implementation

2019-07-07 Thread Thomas Monjalon
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

[dpdk-dev] [PATCH v3 0/3] MCS queued lock implementation

2019-07-05 Thread Phil Yang
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