Comment 32 for bug 24692

Revision history for this message
Phillip Susi (psusi) wrote :

Even on large libraries, a 2 M alignment does not help. If a library maps a section larger than 2 M then it will still be able to use large pages for that mapping, even if its alignment requirement for the section is only 1 byte. The alignment requirement just reserves extra address space that goes unused ( and won't be converted to a large page since part of that 2 M space maps to nothing ).

Basically there is absolutely no reason to ever force an alignment larger than 4k.