commit | 1384534a94e6324d74906f0cbc1e707606c063f2 | [log] [tgz] |
---|---|---|
author | yunlian <yunlian@chromium.org> | Fri Feb 05 00:10:08 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Feb 05 00:11:23 2016 |
tree | 48650bc0e83cd3d8df94784a9470640c354473e2 | |
parent | 9022cb435a91083c86633d6672f92ca6643cb229 [diff] |
Make text section 2MB aligned for hugepages. If we do not use the option '-Wl,--section-start=.text=2001000' at link time, the performance gain on hugepages is gone. This is probably because the original text section is not 2MB aligned and the after mremap, the hugepage is not preserved. BUG=chromium:569963 TEST=The performance gain is back on micro benchmarks. Review URL: https://codereview.chromium.org/1619713007 Cr-Commit-Position: refs/heads/master@{#373673}