Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 40bff4e5 authored by Kalesh Singh's avatar Kalesh Singh
Browse files

mediautils: SharedMemoryAllocator: Remove PAGE_SIZE 4096 usage



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 shared memory allocator; use instead getpagesize()
which provides the real pagesize.

Test: atest -c shared_memory_allocator_tests
Bug: 295228437
Change-Id: I69b1f88de096b0b9fec4ed829c2fb4ce6dddd347
Signed-off-by: default avatarKalesh Singh <kaleshsingh@google.com>
parent fb159b24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment