[all-commits] [llvm/llvm-project] 531f90: [scudo] Verify the size of free blocks in primary ...

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Thu Jul 6 10:43:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 531f90acc555bae4688b5951eebd365f6e02979b
      https://github.com/llvm/llvm-project/commit/531f90acc555bae4688b5951eebd365f6e02979b
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2023-07-06 (Thu, 06 Jul 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/tests/primary_test.cpp

  Log Message:
  -----------
  [scudo] Verify the size of free blocks in primary allocator

When all the blocks (local caches are included) are freed, the size of
free blocks should be equal to `AllocatedUser`.

Reviewed By: cferris

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


  Commit: bce8c9e3d785cb99aab512698b4a1a6af5c032de
      https://github.com/llvm/llvm-project/commit/bce8c9e3d785cb99aab512698b4a1a6af5c032de
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2023-07-06 (Thu, 06 Jul 2023)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/combined.h
    M compiler-rt/lib/scudo/standalone/local_cache.h
    M compiler-rt/lib/scudo/standalone/primary32.h
    M compiler-rt/lib/scudo/standalone/primary64.h

  Log Message:
  -----------
  [scudo] Try to release pages after unlocking the TSDs

This increases the parallelism and the usage of TSDs

Reviewed By: cferris

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


Compare: https://github.com/llvm/llvm-project/compare/05e2bc25e85a...bce8c9e3d785


More information about the All-commits mailing list