Magic Buffers and io_uring Registered Buffers

·Hacker News··

Some Assembly Required Magic Buffers and io_uring Registered Buffers kdb kdb-IPC io_uring Published October 17, 2025 There’s a really cool little mmap gadget that maps the same underlying memory region into two contiguous virtual memory address ranges. When you write past the end of the first mapped region, the remaining bytes end up in the second mapped region (and at the start of the first one). Fabien Giesen calls this a “Magic Ring Buffer”, which is good enough for me. I wondered whether the

Read full article →

Related Articles

Lore – Open source version control system designed for scalability
regnerba · Hacker News · 16h ago
Leaked financial docs show OpenAI is losing billions of dollars a year
greenchair · Hacker News · 9h ago
Volkswagen started blocking GrapheneOS users
microtonal · Hacker News · 16h ago
US holds off blacklisting DeepSeek, more than 100 firms deemed security risks
giuliomagnifico · Hacker News · 1d ago
Tesco moving 40k server workloads off VMware amid Broadcom's abusive conduct
Bender · Hacker News · 10h ago