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

Parameterize AllocatedPages with P: PageSize #1072

Merged

Conversation

kevinaboos
Copy link
Member

  • Another small step in the effort to support huge pages.
  • 4K-sized pages are always the default, so no other code has to change yet.

* Another small step in the effort to support huge pages.
* 4K-sized pages are always the default, so no other code has to change yet.
@kevinaboos kevinaboos merged commit 029b538 into theseus-os:theseus_main Nov 8, 2023
3 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 8, 2023
* This is another small step in the effort to support huge pages.

* 4K-sized pages are always the default, so no other code has to change yet.

* We always specify `<P>` or `<Page4K>` parameters even when not needed,
  just for the sake of explicit clarity.
  * Just like the frame allocator, the page allocator only deals with 4K-sized
    page chunks. Huge pages can be obtained by attempting to convert
    a range of 4K-sized pages into a range of huge 2M or 1G sized pages. 029b538
github-actions bot pushed a commit to tsoutsman/Theseus that referenced this pull request Nov 8, 2023
* This is another small step in the effort to support huge pages.

* 4K-sized pages are always the default, so no other code has to change yet.

* We always specify `<P>` or `<Page4K>` parameters even when not needed,
  just for the sake of explicit clarity.
  * Just like the frame allocator, the page allocator only deals with 4K-sized
    page chunks. Huge pages can be obtained by attempting to convert
    a range of 4K-sized pages into a range of huge 2M or 1G sized pages. 029b538
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.

1 participant