summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl/tsan_defs.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2012-05-22 14:34:43 +0000
committerDmitry Vyukov <dvyukov@google.com>2012-05-22 14:34:43 +0000
commitf6985e3ab9d0ebd3128209c1b4bdd6f5dc817b52 (patch)
tree07ab362133790e8409dd68488058c13948577ceb /compiler-rt/lib/tsan/rtl/tsan_defs.h
parent4df5e96d3a44c38d9cea4ca3438e378b3e97c429 (diff)
downloadbcm5719-llvm-f6985e3ab9d0ebd3128209c1b4bdd6f5dc817b52.tar.gz
bcm5719-llvm-f6985e3ab9d0ebd3128209c1b4bdd6f5dc817b52.zip
tsan: reduce per-thread memory usage
llvm-svn: 157252
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_defs.h')
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_defs.h b/compiler-rt/lib/tsan/rtl/tsan_defs.h
index e9a801d2979..2cd205d4009 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_defs.h
+++ b/compiler-rt/lib/tsan/rtl/tsan_defs.h
@@ -29,7 +29,7 @@ typedef signed long long s64; // NOLINT
typedef unsigned long uptr; // NOLINT
const uptr kPageSize = 4096;
-const int kTidBits = 15;
+const int kTidBits = 13;
const unsigned kMaxTid = 1 << kTidBits;
const unsigned kMaxTidInClock = kMaxTid * 2; // This includes msb 'freed' bit.
const int kClkBits = 40;
OpenPOWER on IntegriCloud