Yep. Specifically using linux's atomic64_inc_return, which does use the lock prefix for xadd. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://moderncrypto.org/mail-archive/noise/attachments/20150901/4e53f84c/attachment.html>