diff options
Diffstat (limited to 'libartbase/base/mem_map.cc')
-rw-r--r-- | libartbase/base/mem_map.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libartbase/base/mem_map.cc b/libartbase/base/mem_map.cc index 9bfcea7592..e4d1faa464 100644 --- a/libartbase/base/mem_map.cc +++ b/libartbase/base/mem_map.cc @@ -56,13 +56,6 @@ using AllocationTrackingMultiMap = using Maps = AllocationTrackingMultiMap<void*, MemMap*, kAllocatorTagMaps>; -// TODO: Kernels for arm and x86 in both, 32-bit and 64-bit modes use 512 entries per page-table -// page. Find a way to confirm that in userspace. -// Address range covered by 1 Page Middle Directory (PMD) entry in the page table -const size_t gPMDSize = (gPageSize / sizeof(uint64_t)) * gPageSize; -// Address range covered by 1 Page Upper Directory (PUD) entry in the page table -const size_t gPUDSize = (gPageSize / sizeof(uint64_t)) * gPMDSize; - // All the non-empty MemMaps. Use a multimap as we do a reserve-and-divide (eg ElfMap::Load()). static Maps* gMaps GUARDED_BY(MemMap::GetMemMapsLock()) = nullptr; |