mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00

With this patch the PAGE_SIZE value from the system is used if possible. The code still assumes that the PAGE_SIZE is 4096, but emits a warning if the actual value differs. If page size is not defined by the system, it is set to 4096 bytes and a warning is emitted as well.