MCS locks and qspinlocks
MCS locks and qspinlocks
Posted Mar 12, 2014 11:40 UTC (Wed) by corbet (editor, #1)In reply to: MCS locks and qspinlocks by ncm
Parent article: MCS locks and qspinlocks
The qspinlock implementation actually uses MCS locks - but only the four-element per-CPU array of them. So the MCS locks won't go away. That array would also be insufficient if one were to try to put qspinlocks into mutexes, since those can sleep and an arbitrary number of them can be acquired.
