[compiler-rt] [scudo] Support setting default value of ReleaseToOsIntervalMs in config (PR #90256)
    Christopher Ferris via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Apr 26 14:28:11 PDT 2024
    
    
  
================
@@ -89,6 +89,7 @@ PRIMARY_REQUIRED(const s32, MaxReleaseToOsIntervalMs)
 // Indicates support for offsetting the start of a region by a random number of
 // pages. This is only used if `EnableContiguousRegions` is enabled.
 PRIMARY_OPTIONAL(const bool, EnableRandomOffset, false)
+PRIMARY_OPTIONAL(const s32, DefaultReleaseToOsIntervalMs, 0)
----------------
cferris1000 wrote:
I think an unset default should be outside the normal range. Maybe something like INT32_MIN. Otherwise you can never default this value to zero.
https://github.com/llvm/llvm-project/pull/90256
    
    
More information about the llvm-commits
mailing list