[llvm] [Draft][BOLT] fix hugify for old krenels (#201813) (PR #201818)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 5 05:15:02 PDT 2026


DmitriiMartynov wrote:

In the current implementation the size of a pie binary is increased because of additional hugepages from left and right sides.
However, it's not required to add them for new kernels (>= 5.10). As a possible solution we can add a hugify suboption - add pages from left/right by default, no need to add if the suboption is enabled.

https://github.com/llvm/llvm-project/pull/201818


More information about the llvm-commits mailing list