[PATCH] D48097: [TSan] Fix madvise(MADV_NOHUGEPAGE) for meta shadow memory
    Aleksey Shlyapnikov via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jun 12 14:26:31 PDT 2018
    
    
  
alekseyshl created this revision.
alekseyshl added a reviewer: dvyukov.
Herald added subscribers: Sanitizers, delcypher, kubamracek.
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.
Repository:
  rCRT Compiler Runtime
https://reviews.llvm.org/D48097
Files:
  lib/sanitizer_common/sanitizer_common.h
  lib/sanitizer_common/sanitizer_posix_libcdep.cc
  lib/sanitizer_common/sanitizer_win.cc
  lib/tsan/rtl/tsan_platform_posix.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48097.151032.patch
Type: text/x-patch
Size: 4478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180612/dc44bc78/attachment.bin>
    
    
More information about the llvm-commits
mailing list