[llvm-bugs] [Bug 38588] New: XRay memory allocation may cause segfaults

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 15 18:39:46 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38588

            Bug ID: 38588
           Summary: XRay memory allocation may cause segfaults
           Product: XRay
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Runtime
          Assignee: dberris at google.com
          Reporter: dberris at google.com
                CC: llvm-bugs at lists.llvm.org

In the mmap-backed memory that XRay reserves in both fdr and profiling modes,
we used a MAP_NORESERVE flag which forced pages to be always memory-backed and
never swapped out. Originally we thought this would have been fine, but we're
seeing the opposite feedback from users.

This bug tracks the change to remove the MAP_NORESERVE flag from the XRay
allocation calls.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180816/8336a810/attachment.html>


More information about the llvm-bugs mailing list