LWN.net Logo

32 bit systems?

32 bit systems?

Posted Sep 12, 2013 13:12 UTC (Thu) by farnz (guest, #17727)
In reply to: 32 bit systems? by simlo
Parent article: Introducing lockrefs

On x86, CMPXCHG8B is 8 bytes (64-bits), and is present since the Pentium (it's the instruction involved in the F0 0F bug). On other platforms, LL/SC can usually be used to emulate a double-pointer compare and swap.


(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