User: Password:
|
|
Subscribe / Log in / New account

MCS locks and qspinlocks

MCS locks and qspinlocks

Posted Mar 21, 2014 0:29 UTC (Fri) by kevinm (guest, #69913)
In reply to: MCS locks and qspinlocks by corbet
Parent article: MCS locks and qspinlocks

Mutexes can't sleep while holding a spinlock, though.


(Log in to post comments)

MCS locks and qspinlocks

Posted Mar 25, 2014 1:47 UTC (Tue) by joern (subscriber, #22392) [Link]

The array is not for processes holding a lock, but for processes sleeping on a lock. If it were for processes holding a lock, it wouldn't even be sufficient for regular spinlocks.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds