[all-commits] [llvm/llvm-project] 0a0b6f: [scudo] Only prepare PageMap entry for partial region

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Mon Feb 27 10:51:16 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a0b6fa4fbdf3bdeb300ddd58859f66b714b8bdf
      https://github.com/llvm/llvm-project/commit/0a0b6fa4fbdf3bdeb300ddd58859f66b714b8bdf
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

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

  Log Message:
  -----------
  [scudo] Only prepare PageMap entry for partial region

This reduces the size of PageMap and we are more likely to use the
static local buffer. Note that now this is only supported for single
region case, i.e. on SizeClassAllocator64. For SizeClassAllocator32,
it needs a different way to save the PageMap.

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




More information about the All-commits mailing list