Investigating Split Locks on x86-64

chipsandcheese.com

26 points by ingve 3 days ago


anematode - an hour ago

Cool investigation. This part perplexes me, though:

> Games have apparently been using split locks for quite a while, and have not created issues even on AMD’s Zen 2 and Zen 5.

For the life of me I don't understand why you'd ever want to do an atomic operation that's not naturally aligned, let alone one split across cache lines....