• Bartek Nowierski's avatar
    [PartitionAlloc] Fix stats reported by PartitionDirectMap · 8795ca62
    Bartek Nowierski authored
    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: default avatarBenoit L <lizeb@chromium.org>
    Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
    Auto-Submit: Bartek Nowierski <bartekn@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#827564}
    8795ca62
partition_page.cc 8.05 KB