<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br><br>
<br>
>From what I understand from the stackoverflow post you're right that<br>
cmxpchg16b will not give a consistent view of the 16 bytes of memory<br>
across multiple NUMA nodes. However, maybe two 4 byte values right next<br>
to each other would be sufficient for your use case and could then be<br>
casted to a 8 byte values for CAS?<br></blockquote><div> </div><div>Thats a great idea. The offset shall never go out of range of 4 byte but still I will put a check there for ensuring. I will update you when I am done with testing on main base code.</div><div><br></div><div>Regards,</div><div>Mihir</div></div></div>