diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2012-05-22 14:34:43 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2012-05-22 14:34:43 +0000 |
commit | f6985e3ab9d0ebd3128209c1b4bdd6f5dc817b52 (patch) | |
tree | 07ab362133790e8409dd68488058c13948577ceb /compiler-rt/lib/tsan/rtl/tsan_defs.h | |
parent | 4df5e96d3a44c38d9cea4ca3438e378b3e97c429 (diff) | |
download | bcm5719-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.h | 2 |
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; |