[all-commits] [llvm/llvm-project] b53ff4: [scudo] Improve the message of region exhaustion (...

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Fri Oct 6 14:31:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b53ff43d36d8fea451d34dfea14df37ca3d2cead
      https://github.com/llvm/llvm-project/commit/b53ff43d36d8fea451d34dfea14df37ca3d2cead
  Author: ChiaHungDuan <chiahungduan at google.com>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

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

  Log Message:
  -----------
  [scudo] Improve the message of region exhaustion (#68444)

In this CL, we move the printing of allocator stats from primary.h to
combined.h. This will also dump the secondary stats and reduce the log
spam when an OOM happens

Also change the symbol `F` to `E` to indicate region pages exhausted. It
means the region can't map more pages for blocks but it may still have
free blocks to allocate. `F` may hint the failure of fatel error in the
region. Also update the related comments.




More information about the All-commits mailing list