Move madvise(MADV_NOHUGEPAGE) for the meta shadow memory after the meta
shadow memory is mapped (currently it silently fails with ENOMEM).
Add a diagnostic message to detect similar problems in the future.
Paths
| Differential D48097
[TSan] Fix madvise(MADV_NOHUGEPAGE) for meta shadow memory ClosedPublic Authored by alekseyshl on Jun 12 2018, 2:26 PM.
Details Summary Move madvise(MADV_NOHUGEPAGE) for the meta shadow memory after the meta Add a diagnostic message to detect similar problems in the future.
Diff Detail
Event TimelineHerald added subscribers: Restricted Project, delcypher, kubamracek. · View Herald TranscriptJun 12 2018, 2:26 PM
This revision is now accepted and ready to land.Jun 13 2018, 8:03 AM Comment Actions Thanks!
Closed by commit rL334624: [TSan] Fix madvise(MADV_NOHUGEPAGE) for meta shadow memory (authored by alekseyshl). · Explain WhyJun 13 2018, 10:23 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 151194 compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h
compiler-rt/trunk/lib/sanitizer_common/sanitizer_posix_libcdep.cc
compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc
compiler-rt/trunk/lib/tsan/rtl/tsan_platform_posix.cc
|