[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
|
|
Subscribe / Log in / New account

Restartable sequences in glibc

Restartable sequences in glibc

Posted Feb 1, 2022 3:27 UTC (Tue) by compudj (subscriber, #43335)
Parent article: Restartable sequences in glibc

In order to facilitate use of rseq for the mere mortals, I've been working on a library called librseq. It is available at https://git.kernel.org/pub/scm/libs/librseq/librseq.git/ . It has two goals:

Its primary goal is to provide a higher-level C API as static inline functions to implement the critical sections for common use-cases on all supported architectures (currently x86 32/64, arm 32/64, powerpc 32/64, s390, s390/x, and mips). It does the heavy lifting: it implements the per-architecture assembly for each per-cpu data access pattern.

Its second goal is to provide a rseq registration API to be used with older glibc (before 2.35) which is also compatible with glibc 2.35.

librseq is available under both LGPLv2.1 and MIT licenses. This library is still under active development, with no official release yet.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds