Line 1:
Line 1:
"Restartable sequences" (<code>rseq</code>) are small segments of user-space code designed to access per-CPU data structures without the need for heavyweight locking.
"Restartable sequences" (<code>rseq</code>) are small segments of user-space code designed to access per-CPU data structures without the need for heavyweight locking.
rseq is supported since Linux kernel 4.18 [1]
rseq is supported since Linux kernel 4.18 [1]
+
+
I strongly suggest reading the article [https://www.efficios.com/blog/2019/02/08/linux-restartable-sequences/ Linux restartable sequences] before this one.
== Linux kernel interface ==
== Linux kernel interface ==