What about nested qspinlocks?
What about nested qspinlocks?
Posted Apr 7, 2014 15:31 UTC (Mon) by corbet (editor, #1)In reply to: What about nested qspinlocks? by giltene
Parent article: MCS locks and qspinlocks
Remember that the per-CPU array is only used during the lock acquisition process. When nested spinlocks are held, all but (perhaps) the last are already acquired. Since the CPU is no longer trying to acquire them, it need not place an entry into the queue and, thus, does not need to use an element from the per-CPU array.
