Investigating Split Locks on x86-64

·Chips and Cheese··

“Split locks” are atomic operations that access memory across cache line boundaries. Atomic operations let programmers perform several basic operations in sequence without interference from another thread. That makes atomic operations useful for multithreaded code. For instance, an atomic test and set can let a thread acquire a higher level lock. Or, an atomic add can let multiple threads increment a shared counter without using a software-orchestrated lock. Modern CPUs handle atomics with cache...

Read full article →

Related Articles

Computer Use is 45x more expensive than structured APIs
palashawas · Hacker News · 15d ago
Bun is being ported from Zig to Rust
SergeAx · Hacker News · 16d ago
Should I run plain Docker Compose in production in 2026?
pmig · Hacker News · 21d ago
Show HN: Tilde.run – Agent sandbox with a transactional, versioned filesystem
ozkatz · Hacker News · 14d ago
RaTeX: KaTeX-compatible LaTeX rendering engine in pure Rust
atilimcetin · Hacker News · 16d ago