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

Spinlock definition

Spinlock definition

Posted Feb 3, 2012 6:54 UTC (Fri) by ncm (subscriber, #165)
In reply to: Spinlock definition by abacus
Parent article: Betrayed by a bitfield

No, volatile almost never does anything useful. It's the 32-bit lock word that was the mistake. Fortunately, it should be easy to fix in the kernel without depending on a compiler fix, just by forcing a 64-bit aligned word.


(Log in to post comments)


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