[scudo] lower quarantine default sizes
authorKostya Kortchinsky <kostyak@google.com>
Thu, 18 May 2017 20:47:35 +0000 (20:47 +0000)
committerKostya Kortchinsky <kostyak@google.com>
Thu, 18 May 2017 20:47:35 +0000 (20:47 +0000)
commit432b8dd8addf9271432e9d2fef46eba8cf71b0df
tree5d06166779466dda30e232561ceac76685a98b6a
parentdf01feb40eea328a1fc3cee31f659a66fdabc859
[scudo] lower quarantine default sizes

Summary:
After discussing the current defaults with a couple of parties, the consensus
is that they are too high. 1Mb of quarantine has about a 4Mb impact on PSS, so
memory usage goes up quickly.
This is obviously configurable, but the default value should be more
"approachable", so both the global size and the thread local size are 1/4 of
what they used to be.

Reviewers: alekseyshl, kcc

Reviewed By: alekseyshl

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D33321

llvm-svn: 303380
compiler-rt/lib/scudo/scudo_flags.cpp