Skip to content

Conversation

@etsal
Copy link
Contributor

@etsal etsal commented Dec 5, 2025

The ravg header that is in use in rusty/w40 has been developed as a header, with all the caveats this includes (increased code/size verification due to overly aggressive inlining). There is demand for ravg-related features in scx_lavd which will probably require further development of the feature. Move the code to lib/ in preparation for that.

The main limitation of the current code is that it cannot handle arena arguments. This is required in lavd. There is no way to allow the same function to accept arena and non-arena arguments, so for now add copy helpers between arena and non-arena versions of the same struct. These can be combined with temporary stack arguments to pass arena data to the ravg routines.

Copy link
Contributor

@multics69 multics69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @etsal ! LGTM.

@etsal etsal added this pull request to the merge queue Dec 6, 2025
Merged via the queue into sched-ext:main with commit ade28a6 Dec 6, 2025
22 checks passed
@etsal etsal deleted the ravg-lib branch December 6, 2025 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants