Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Faster makecontext #8

Description

@tarqd

makecontext and friends have to make system calls every time they are used to store the current signal mask. Instead of using this function directly it'd be more performant to store the callee-saved registers yourself (depends on your target systems ABI).

You'd need to store any preserved registers in the table here. You can also probably skip out of preserving float registers as they are also not guaranteed to be preserved accross function calls.

You could store all registers like makecontext does but it's not necessary.

References:

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions