[all-commits] [llvm/llvm-project] dddcb8: [scudo] Secondary release to OS uses LRU to scan. ...

Christopher Ferris via All-commits all-commits at lists.llvm.org
Fri Oct 24 11:59:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dddcb84f152b99dfe7e117c02ab506c6c14b2f2b
      https://github.com/llvm/llvm-project/commit/dddcb84f152b99dfe7e117c02ab506c6c14b2f2b
  Author: Christopher Ferris <cferris1000 at users.noreply.github.com>
  Date:   2025-10-24 (Fri, 24 Oct 2025)

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

  Log Message:
  -----------
  [scudo] Secondary release to OS uses LRU to scan. (#163691)

Before this change, the code would scan the entire set of cached entries
to find ones to be released. Now, it uses the LRUEntries list to iterate
over the live cached entries. In addition, remove the OldestTime
variable and replace it with OldestPresentEntry which will always be the
oldest entry in the LRU that has Time non-zero.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list