[compiler-rt] [scudo] Release to OS if a large amount of memory is deallocated. (PR #160621)

Christopher Ferris via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 24 17:59:11 PDT 2025


cferris1000 wrote:

See if my explanation makes sense, since this seems to be what the problem is.

I verified this by running against the memory traces, running boot tests, running other benchmarks. I did see a slight increase in the time it took and a decrease in memory used. I expect that this will trip some performance benchmarks, so I want to get this in and see what happens. I did see some big memory savings in some cases, which probably means that we can probably tune the memory check better in the future to get even more savigns.

https://github.com/llvm/llvm-project/pull/160621


More information about the llvm-commits mailing list