Re:Linux: Introduce restartable sequences system call
by senozhatsky on Saturday June 23, 2018 @04:49AM
(#17380251)
> I am concerned about providing a librseq that handles rseq registration for early adopters though
Sounds very reasonable.
So at this point, as far as I understand it, FB and Google carry in-house rseq kernel and user space patches. Right? Are they on board with the mainline rseq? Will FB support rseq in jemalloc any time soon?
-ss
Re:Linux: Introduce restartable sequences system call
by compudj on Saturday June 23, 2018 @12:49PM
(#17382071)
I've been in touch with FB. They are interested in using rseq for jemalloc. They have provided prototypes of jemalloc based on rseq, along with benchmarks helping me make the case for rseq mainlining.
I don't know whether Google will ever want to swap from their in house rseq implementation to the upstream Linux rseq, use both ABIs for a transition period, or simply keep using their own in-house rseq.
I am concerned about providing a librseq that handles rseq registration for early adopters though, because I don't want projects to eventually end up conflicting with future glibc versions. Once we settled how glibc will expose the symbol and register it, I will try to provide a helper library which exposes this symbol and allow performing explicit rseq registration in a way that won't conflict with future glibc versions.