Skip to content
Commit a0a40883 authored by Rebecca Schultz Zavin's avatar Rebecca Schultz Zavin
Browse files

Modify the binder to request 1M - 2 pages instead of 1M. The backing store


in the kernel requires a guard page, so 1M allocations fragment memory very
badly.  Subtracting a couple of pages so that they fit in a power of
two allows the kernel to make more efficient use of its virtual address space.

Signed-off-by: default avatarRebecca Schultz Zavin <rebecca@android.com>
parent b602c328
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment