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

Go 1.27 Interactive Tour
Hixon10 · Hacker News · 8h ago
Google fixed more Chrome bugs in June than over the past two years, thanks to AI
Garbage · Hacker News · 2d ago
The Art of 64-bit Assembly
0x54MUR41 · Hacker News · 19h ago
CISA Alert: Water Sector PLC Targeting
speckx · Hacker News · 15h ago
Tailscale didn't stop the Hugging Face intrusion
bluehatbrit · Hacker News · 1d ago