-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
design flaw: operating system page size is not always comptime known, but std lib assumes it is #2564
Comments
Yes, but many systems make them transparent so they don't break things. |
It's not really transparent if you consider other architectures. |
I was afraid of this being the case. This is so inconvenient that I might consider making the "page size" part of the target. I don't know yet. This will be an important decision for the limitations & capabilities of the standard library. |
@LemonBoy I just said that cause i'm using ppc64le and the large page sizes are automatic, but 4096 still works. That is the default config.
This could be used with symbol multi-versioning, but it definitely is a pain. |
Maybe all we need is the minimum page size? |
Solution: |
There is no longer just one page size; "huge pages" are well supported by modern processors and operating systems.
Originally posted by @daurnimator in #2527
The text was updated successfully, but these errors were encountered: