commit | fc01862b23effa03a33e6b9faae3762d0853009e | [log] [tgz] |
---|---|---|
author | Kalesh Singh <kaleshsingh@google.com> | Wed Aug 09 13:20:58 2023 -0700 |
committer | Kalesh Singh <kaleshsingh@google.com> | Wed Aug 09 13:22:23 2023 -0700 |
tree | f73e8c2f60d28384761b9b10daa03e5967b85bd6 | |
parent | bd015a64bd3d6e2e40a55637d34c02790674e555 [diff] |
mmap-perf: Remove use of hardcoded PAGE_SIZE 4096 bionic hard codes the PAGE_SIZE macro as 4096. This is going away as Android begins to support larger page sizes. Remove the usage of this assumption from mmap-perf source; use instead getpagesize() which provides the real pagesize. Test: mma Bug: 295082487 Change-Id: I64255a8f3d8725a3635ed3e5a49832ec84fa91fd Signed-off-by: Kalesh Singh <kaleshsingh@google.com>