General![[$] Fixing the TCMalloc regression with RSEQ operations](/storage/uploads/covers/2026/09/6b096853-e782-404d-abc9-d14842ed2030.webp)
[$] Fixing the TCMalloc regression with RSEQ operations
0 views
![[$] Fixing the TCMalloc regression with RSEQ operations](/storage/uploads/covers/2026/09/6b096853-e782-404d-abc9-d14842ed2030.webp)
The restartable sequences feature is one of
the stranger corners of the kernel's user-space interface; it provides a
way for user space to carry out simple lockless operations and be informed
if it is preempted over the course of an operation (and must, thus,
restart). Work merged in the 6.19 release to improve the performance of restartable
sequences broke the TCMalloc allocator,
which was relying on an undocumented (and unintended) kernel behavior.
Now, Olivier Dion is proposing an
addition to the restartable-sequences API that will bring TCMalloc back
into the fold; it does not make the restartable-sequences API any less
strange, though.
Read original: https://lwn.net/Articles/1092555/
PreviousFixing Fatal Process Aborts in TensorFlow Lookup TablesNextFlat Rate CDN is now GA for Pro teams
Related posts
'NAZA' Has Nada on Israel
0Hacker News New
The Self-Making World
0Hacker News New
Salary Transparency
0Hacker News New
100% accurate next token prediction model
0Hacker News New
Which Chinese movies can you understand? 117 films ranked by HSK level
0Hacker News New
I built a live election dashboard using Conformalized Quantile Regression
0Hacker News New