[all-commits] [llvm/llvm-project] c51419: [scudo] Adjust page map buffer size

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Wed Mar 8 13:21:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c514198e4d39743369377011a55e74a8640b08f4
      https://github.com/llvm/llvm-project/commit/c514198e4d39743369377011a55e74a8640b08f4
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/release.cpp
    M compiler-rt/lib/scudo/standalone/release.h
    M compiler-rt/lib/scudo/standalone/tests/release_test.cpp

  Log Message:
  -----------
  [scudo] Adjust page map buffer size

Given the memory group, we are unlikely to need a huge page map to
record entire region. This CL reduces the size of default page map
buffer from 2048 to 512 and increase the number of static buffers to 2.

Reviewed By: cferris

Differential Revision: https://reviews.llvm.org/D144754




More information about the All-commits mailing list