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

Only call mmap() on first allocation in an arena #1192

Merged
merged 3 commits into from
Dec 19, 2024
Merged

Conversation

stevenmeker
Copy link
Collaborator

Only call mmap() for first semispace in an arena when the first kore_arena_alloc() call is made. This is to avoid reserving address space on behalf of threads that don't use arenas.

@rv-jenkins rv-jenkins changed the base branch from master to develop December 17, 2024 22:32
@dwightguth dwightguth merged commit 790cab9 into develop Dec 19, 2024
10 checks passed
@dwightguth dwightguth deleted the mmap_on_demand branch December 19, 2024 17:30
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