FreeBSD GUS
Summary
This article explains Safe Memory Reclamation (SMR) and FreeBSD's GUS, an unbounded-epoch approach for lock-free data structures. It covers epoch-based reclamation, per-CPU sequencing, and integration with the UMA allocator, including XNU's adoption and practical polling amortization. The post includes pseudocode, diagrams, and references to code and literature, making it a valuable deep dive into kernel memory management for systems developers.