Now that we lock the internal allocator around fork,
it's possible it will create additional deadlocks.
Add a fake mutex that substitutes the internal allocator
for the purposes of deadlock detection.
Depends on D114531.
Paths
| Differential D114532
tsan: include internal allocator into deadlock detection ClosedPublic Authored by dvyukov on Nov 24 2021, 5:48 AM.
Details Summary Now that we lock the internal allocator around fork, Depends on D114531.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 24 2021, 6:27 AM This revision was landed with ongoing or failed builds.Nov 24 2021, 8:02 AM Closed by commit rG6f85d68e6ab2: tsan: include internal allocator into deadlock detection (authored by dvyukov). · Explain Why This revision was automatically updated to reflect the committed changes. morehouse mentioned this in D114531: tsan: lock internal allocator around fork.Nov 24 2021, 12:11 PM
Revision Contents
Diff 389506 compiler-rt/lib/tsan/rtl/tsan_defs.h
compiler-rt/lib/tsan/rtl/tsan_mman.cpp
compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
|