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

fix mapping of 1GB pages #832

Merged
merged 4 commits into from
Aug 9, 2023
Merged

fix mapping of 1GB pages #832

merged 4 commits into from
Aug 9, 2023

Conversation

stlankes
Copy link
Contributor

@stlankes stlankes commented Aug 9, 2023

map_heap can be fail because due to fragmentation it isn't enough continuous memory for 1GB pages available. Consequently, map_heap returns as error value the number of sucessfully mapped pages. On success, all requested pages are mapped into the memory.

`map_heap` can be fail because due to fragmentation it isn't enough
continuous memory for 1GB pages available. Consequently, `map_heap`
returns as error value the number of sucessfully mapped pages. On
success, all requested pages are mapped into the memory.
@stlankes stlankes requested a review from mkroening August 9, 2023 12:23
@stlankes stlankes enabled auto-merge August 9, 2023 13:17
@stlankes stlankes added this pull request to the merge queue Aug 9, 2023
Merged via the queue into hermit-os:master with commit 2fda1c6 Aug 9, 2023
8 checks passed
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