summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_allocator.h
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2014-01-27 13:05:09 +0000
committerKostya Serebryany <kcc@google.com>2014-01-27 13:05:09 +0000
commit7fe86589f1a59a7b8dfebc0836c07ade0597b9c1 (patch)
tree70fa1dbd395a014bf603dbd2e64b93840b487e07 /compiler-rt/lib/sanitizer_common/sanitizer_allocator.h
parent9d9907924d5eab923250df639fb093be7c3c3a28 (diff)
downloadbcm5719-llvm-7fe86589f1a59a7b8dfebc0836c07ade0597b9c1.tar.gz
bcm5719-llvm-7fe86589f1a59a7b8dfebc0836c07ade0597b9c1.zip
[sanitizer] revert r200197: the buggy kernel (https://bugzilla.kernel.org/show_bug.cgi?id=67651) is almost unusable with asan even with this workaround (too slow), so this workaround makes no sense. The asan/msan bootstrap bot was changed to use a non-buggy kernel
llvm-svn: 200217
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_allocator.h')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_allocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_allocator.h b/compiler-rt/lib/sanitizer_common/sanitizer_allocator.h
index e38526730e1..a8debd971be 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_allocator.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_allocator.h
@@ -469,7 +469,7 @@ class SizeClassAllocator64 {
// or with one element if its size is greater.
static const uptr kPopulateSize = 1 << 14;
// Call mmap for user memory with at least this size.
- static const uptr kUserMapSize = 1 << 18;
+ static const uptr kUserMapSize = 1 << 16;
// Call mmap for metadata memory with at least this size.
static const uptr kMetaMapSize = 1 << 16;
OpenPOWER on IntegriCloud