-
Notifications
You must be signed in to change notification settings - Fork 137
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
[Question] Is there a reason to not support pagemaps level 5 ? #435
Comments
AFAIK there is no reason we don't support 5-level paging, it's just that no one has implemented it yet. It might require redesigning some of the abstractions to support both 4-level and 5-level paging. Feel free to come up with ideas.
This would also break/require redesign of the page table related abstraction including |
For |
I noticed that the bitmask of the |
(This misunderstands a few concepts/our APIs, there's been some discussion on this in #511). |
Unfortunately, I don't think this can work without a breaking change because Rust doesn't allow specifying a default for generic parameters in functions. |
PML5 is an Intel extension to increase addressable space from 256TB to 128PB (see wikipedia).
I admit it is a niche use case 🙂 But I was still wondering if there is any reason to not support it?
Since it uses bits from 48 to 57 for the new level, I guess it would break the safety checks for the
VirtAddr
type, are there other things that would break?NB: The limine bootloader provides a way to detect if the CPU has the PML5 extension.
The text was updated successfully, but these errors were encountered: