[all-commits] [llvm/llvm-project] 2fcfae: Revert "[scudo] seperate cache retrieval logic"

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Mon Jul 31 10:38:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2fcfaeecfb3389decdc511ece532f905a14b2d8d
      https://github.com/llvm/llvm-project/commit/2fcfaeecfb3389decdc511ece532f905a14b2d8d
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2023-07-31 (Mon, 31 Jul 2023)

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

  Log Message:
  -----------
  Revert "[scudo] seperate cache retrieval logic"

RoundedSize is supposed to be used on directly mapping. To determine if
a cached block is feasible, the size doesn't need to be rounded in
advance. As a result, the use of RoundedSize may miss some chance of
using cached blocks.

This reverts commit 4c6b8bb87b3452d0bcef83cd0ea712d8426603b8.

Reviewed By: frs513

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




More information about the All-commits mailing list