News for hackers. Stuff that matters.
Re:Linux: Introduce restartable sequences system call by jgalar on Thursday June 21, 2018 @04:17PM (#17368900)
Mathieu's (patch author) main motivation was removing atomic operation from the LTTng userspace tracer's hot path.

In that case, the per-cpu data is the 'reserve' and 'commit' counters that must be updated when the tracer saves an event to the per-CPU buffers.

Other uses that I'm aware of include memory allocators that maintain per-CPU arenas.

There are no comments on this comment yet.