[all-commits] [llvm/llvm-project] a6e3bb: [scudo] Make the boundary of memory group aligned ...

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Mon Mar 6 11:39:24 PST 2023


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

  Changed paths:
    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] Make the boundary of memory group aligned with region begin

This alignment guarantee enables simpler group range check while page
releasing and a potential optimization which is, now all the pointers
from the same group are also inth same region, that means the complexity
in markFreeBlocks() can be reduced as well.

Reviewed By: cferris

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




More information about the All-commits mailing list