On Fri, Sep 18, 2020 at 1:33 pm, Steven Munroe <[email protected]>
wrote:
The correct solution for userland is getpagesize() from <unistd.h>.
This API has been there a long time.
Some software requires that the page size be known at compile time,
e.g. WebKit's JavaScriptCore. Therefore getpagesize() is really not
good enough.
We could use getpagesize() to test the page size at compile time, but
it would fail if cross-compiling, so instead we just hardcode guesses
in the code. For aarch64 RHEL has some hacky patch that can never go
upstream to change the page size.
I don't have much good to say about this situation.
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]