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>
1 file changed