Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
android: Prefetch the ordered section first.
The section of .text covered by the orderfile is now located in the middle of the binary, after the clang roll in r550608. This negatively impacts startup performance as the prefetcher doesn't start by fetching the early startup code. This fixes it by fetching the ordered range first, then all of .text. Fetching the ordered section twice should add almost no time, as it is not even a minor page fault the second time. Bug: 833299 Change-Id: Id71818a90552c85849b20624a4d144098c102a42 Reviewed-on: https://chromium-review.googlesource.com/1024032 Reviewed-by: Egor Pasko <pasko@chromium.org> Reviewed-by: agrieve <agrieve@chromium.org> Commit-Queue: Benoit L <lizeb@chromium.org> Cr-Commit-Position: refs/heads/master@{#553032}
- Loading branch information