Author: ChiaHungDuan Date: 2024-10-14T12:52:25-07:00 New Revision: 19f39761410daf3edde455aa164221ca04ad40ad
URL: https://github.com/llvm/llvm-project/commit/19f39761410daf3edde455aa164221ca04ad40ad DIFF: https://github.com/llvm/llvm-project/commit/19f39761410daf3edde455aa164221ca04ad40ad.diff LOG: Revert "[scudo] Apply the min release threshold to the group (#112014)" This reverts commit 53c9553562c778338a82574123fb7cfb943c4042. Added: Modified: compiler-rt/lib/scudo/standalone/primary64.h Removed: ################################################################################ diff --git a/compiler-rt/lib/scudo/standalone/primary64.h b/compiler-rt/lib/scudo/standalone/primary64.h index 1865ed41368e3c..97188a5ac235cc 100644 --- a/compiler-rt/lib/scudo/standalone/primary64.h +++ b/compiler-rt/lib/scudo/standalone/primary64.h @@ -1492,8 +1492,6 @@ template <typename Config> class SizeClassAllocator64 { } const uptr PushedBytesDelta = BytesInBG - BG->BytesInBGAtLastCheckpoint; - if (PushedBytesDelta < getMinReleaseAttemptSize(BlockSize)) - continue; // Given the randomness property, we try to release the pages only if the // bytes used by free blocks exceed certain proportion of group size. Note _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits