tsan: mark meta shadow as NOHUGEPAGE
authorDmitry Vyukov <dvyukov@google.com>
Thu, 18 Jun 2015 16:57:37 +0000 (16:57 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Thu, 18 Jun 2015 16:57:37 +0000 (16:57 +0000)
commit70dd0e2087f79385e7c0fef60a2f0fe2ac842e4b
tree69ce7f9c77d258a2e4b177448b9b9efbfb7fce2d
parentc59f22c5567ad237b0478d26a95c4b48f8715f2f
tsan: mark meta shadow as NOHUGEPAGE

Meta shadow is compressing and we don't flush it,
so it makes sense to mark it as NOHUGEPAGE to not over-allocate memory.
On one program it reduces memory consumption from 5GB to 2.5GB.

llvm-svn: 240028
compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc