Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative approach to page allocation #301

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

dcoutts
Copy link
Collaborator

@dcoutts dcoutts commented Jul 19, 2024

This is here for benchmarking comparison purposes, and so see what we think of the generality vs performance trade-off.

This allocator approach is a direct style, not using arenas. It's more like a slab allocator, but only for 4k page allocations.

This allows the slab cache to be manipulated only using atomic IORef operations.

This is a direct style, not using arenas. It's more like a slab
allocator, but only for 4k page allocations.

This allows the slab cache to be manipulated only using atomic IORef
operations.
@jorisdral
Copy link
Collaborator

jorisdral commented Aug 12, 2024

@dcoutts is this a PR you would still like to get merged at some point now that the existing page allocator was optimised using SPECIALISE pragmas in #330?

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