Tech · justine.lol
Restartable Sequences
Compiled by KHAO Editorial — aggregated from 1 source. See llms.txt for citation guidance.
◌ Single Source
In this case, Hacker News is using the section name.rodata.rseq because the standard GNU linker scripts (e.g. /usr/lib/x86_64-linux-gnu/ldscripts/elf_x86_64.x ) are hard-coded to recognize sections named.rodata or.rodata.* and then puts them into an ELF program header segment that'll be marked PROT_READ on process startup.
Key facts
- For single threaded programs, the Linux Kernel does a remarkably good job picking 1 or 2 cores and sticking with it
- 96 core AMD Ryzen Threadripper Pro 7995WX (x86-64)
- Then they shift it left by 6 places, which is a fast way to multiply by 64
- System76 Thelio Astra w/ Ampere's 128 core 3GHz Altra CPU (ARM64)
Summary
May 31 st, 2026 @ justine's web page. The best kept secret at the frontier of system programming right now is the Linux 4.18+ (c. 2018) concept of restartable sequences or rseq for short. It's currently only possible to use rseq on Linux using handwritten assembly code. So far the only software the reporter has seen using rseq is tcmalloc, jemalloc, glibc, and cosmopolitan. System programmers who don't have a workstation like the ones above are going to be left behind like a dinosaur, with no opportunity to pluck the low hanging fruit of 10x performance optimizations.