Diagram of a Linux cgroup hierarchy with v2 unified tree.

Why Cgroups V2 Redefined Modern Linux Resource Isolation

Cgroups v2 unifies the control hierarchy, introduces granular I/O and memory throttling, and simplifies container orchestration, making Linux resource isolation more predictable and efficient.

May 17, 2026 · 7 min · 1452 words · martinuke0
Illustration of a low-level lock mechanism in code.

Building Userland Mutexes with the Futex System Call

A deep dive into constructing efficient mutexes in user space with futex, complete with code examples and best practices.

May 17, 2026 · 10 min · 2003 words · martinuke0
Illustration of overlapping epochs in concurrent memory reclamation.

How Epoch-Based Reclamation Avoids the Stalled Pointer Problem

A deep dive into epoch‑based reclamation, showing why it solves the stalled pointer issue and how to apply it safely in high‑performance concurrent code.

May 17, 2026 · 9 min · 1803 words · martinuke0
Illustration of a circular buffer with atomic pointers.

The Mechanics of Thread Safety in Lockless Circular Buffers

A deep dive into lockless circular buffer design, showing how atomic primitives, memory fences, and careful indexing keep multiple producers and consumers safe without locks.

May 15, 2026 · 10 min · 1918 words · martinuke0
Diagram of memory pages being shared and duplicated on write.

Why Copy on Write Improves Memory Efficiency in Linux

Copy‑on‑Write (CoW) lets Linux share pages until they’re modified, dramatically cutting memory footprints for forks, containers, and snapshots.

May 14, 2026 · 9 min · 1836 words · martinuke0
Feedback