summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-05-17 01:45:05 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-17 01:45:05 +0000
commit8f0776768712b2021aa8fb649b51017b9f0fc7a9 (patch)
treee61a3d4f84bcc311f3a6e7892fe07dc53935f0d1
parent8969a34a46e8b97476c7cd58a3ab28be18d3f7eb (diff)
parent6bd621aa31aa94ed42a2a35256d219630bf0b687 (diff)
downloadart-8f0776768712b2021aa8fb649b51017b9f0fc7a9.zip
art-8f0776768712b2021aa8fb649b51017b9f0fc7a9.tar.gz
art-8f0776768712b2021aa8fb649b51017b9f0fc7a9.tar.bz2
Merge "ART: Move start of linear mmap_scan out of reserved space"
-rw-r--r--runtime/mem_map.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/mem_map.cc b/runtime/mem_map.cc
index 5225919..ffafc85 100644
--- a/runtime/mem_map.cc
+++ b/runtime/mem_map.cc
@@ -47,8 +47,8 @@ static std::ostream& operator<<(
}
#if defined(__LP64__) && !defined(__x86_64__)
-// Where to start with low memory allocation.
-static constexpr uintptr_t LOW_MEM_START = kPageSize * 2;
+// Where to start with low memory allocation. The first 64KB is protected by SELinux.
+static constexpr uintptr_t LOW_MEM_START = 64 * KB;
uintptr_t MemMap::next_mem_pos_ = LOW_MEM_START; // first page to check for low-mem extent
#endif