LWN.net Logo

Improving ticket spinlocks

Improving ticket spinlocks

Posted Jan 10, 2013 9:44 UTC (Thu) by heijo (guest, #88363)
Parent article: Improving ticket spinlocks

What about replacing ticket locks with a queue-based lock mechanism with local spinning?

Like an MCS lock with the internal state stored in a pseudo-stack of per-CPU variables searched for the lock address, or maybe something stateless if possible.


(Log in to post comments)

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