[all-commits] [llvm/llvm-project] e5271f: [scudo] Update secondary cache time-based release ...

Joshua Baehring via All-commits all-commits at lists.llvm.org
Mon Sep 16 11:33:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5271fef8fd8931370f04702ba2f9e8b2ab0e523
      https://github.com/llvm/llvm-project/commit/e5271fef8fd8931370f04702ba2f9e8b2ab0e523
  Author: Joshua Baehring <98630690+JoshuaMBa at users.noreply.github.com>
  Date:   2024-09-16 (Mon, 16 Sep 2024)

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

  Log Message:
  -----------
  [scudo] Update secondary cache time-based release logic (#107507)

Secondary cache entries are now released to the OS from least recent to
most recent entries. This helps to avoid unnecessary scans of the cache
since entries ready to be released (specifically, entries that are
considered old relative to the configurable release interval) will
always be at the tail of the list of committed entries by the LRU
ordering. For this same reason, the `OldestTime` variable is no longer
needed to indicate when releases are necessary so it has been removed.



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