[all-commits] [llvm/llvm-project] e4efa8: [scudo] Slightly improve the handling of last bloc...

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Thu Mar 9 08:18:49 PST 2023


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

  Changed paths:
    M compiler-rt/lib/scudo/standalone/primary32.h
    M compiler-rt/lib/scudo/standalone/release.h

  Log Message:
  -----------
  [scudo] Slightly improve the handling of last block in a region

Instead of going through all those trailing blocks, just count the
number and increase the counter at once.

Reviewed By: cferris

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




More information about the All-commits mailing list