Hardware Transactional Memory · Optimistic Locking in Silicon
unseel.com · run the critical section with no lock · commit all at once, or abort and roll back
Core A SPECULATE
Core B SPECULATE
Phase SPECULATING
Core A · read + write set
Core B · read + write set
Conflict on a shared line
Commit — globally visible
Unseel.com · Hardware Transactional Memory