[PartitionAlloc] Fix stats reported by PartitionDirectMap
PartitionDirectMap and AllocNewSlotSpan have been reporting things inconsistently. After this CL, the metrics will have the following (consistent) meaning: 1. total_size_of_super_pages - total virtual address space for normal bucket super pages 2. total_size_of_direct_mapped_pages - total virtual address space for direct map regions 3. total_size_of_committed_pages - total committed pages for slots (doesn't include metadata, bitmaps, or any data outside or regions described in #1 and #2) Change-Id: I1ac1b3044d15b33dcbd506f133d1fe7fa322277f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2532542 Commit-Queue: Bartek Nowierski <bartekn@chromium.org> Reviewed-by:Benoit L <lizeb@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Auto-Submit: Bartek Nowierski <bartekn@chromium.org> Cr-Commit-Position: refs/heads/master@{#827564}
Showing
Please register or sign in to comment