commit | ba3e5e2639af7b99f54c889400c06bbbeb1c8727 | [log] [tgz] |
---|---|---|
author | Rebecca Schultz Zavin <rebecca@android.com> | Fri Oct 30 18:39:55 2009 -0700 |
committer | Rebecca Schultz Zavin <rebecca@android.com> | Thu Nov 12 16:31:12 2009 -0800 |
tree | 5b603c34d91780b98215c8718f7ea96e6772ec97 | |
parent | 0d7c8beb3788e64c201f8a40d629b43c8a5519b7 [diff] |
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: Rebecca Schultz Zavin <rebecca@android.com>