|
|
Subscribe / Log in / New account

Restartable sequences in glibc

Restartable sequences in glibc

Posted Feb 1, 2022 6:53 UTC (Tue) by roc (subscriber, #30627)
In reply to: Restartable sequences in glibc by mjw
Parent article: Restartable sequences in glibc

rr generally doesn't instrument code. Also, we run code on a single core and control scheduling. It is therefore pretty easy to for us to emulate rseq completely. We don't pass the syscall through, instead when rr performs a context switch or signal delivery, we emulate an rsync abort ourselves if necessary.


to post comments

Restartable sequences in glibc

Posted Feb 1, 2022 6:54 UTC (Tue) by roc (subscriber, #30627) [Link]

Oh and rr also pins tracees to a single core (usually) so there are never any CPU migrations.


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