[all-commits] [llvm/llvm-project] a78805: [scudo] Mark all blocks in a range without visitin...

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Thu Feb 23 15:31:20 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a78805f3cb8dfdf93da759bfee420d89b85f66ef
      https://github.com/llvm/llvm-project/commit/a78805f3cb8dfdf93da759bfee420d89b85f66ef
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2023-02-23 (Thu, 23 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] Mark all blocks in a range without visiting each of them

When all the blocks in the group are known to be used, we should just
mark the pages in the range as all counted instead of visiting each of
them. This will reduce the time of marking free blocks especially for
smaller size class.

Reviewed By: cferris

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




More information about the All-commits mailing list