[PATCH] D33325: [sanitizer] Avoid possible deadlock in child process after fork

Maxim Ostapenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 23 04:58:53 PDT 2017


m.ostapenko added inline comments.


================
Comment at: test/sanitizer_common/TestCases/Linux/allocator_fork_no_hang.cc:41
+// Run through malloc/free in the child process.
+// If any of the hash table cells are locked, this may deadlock.
+// This can also deadlock at allocator cache refilling.
----------------
eugenis wrote:
> What are these hash table cells?
Oh, this comment reflects to StackDepotLockAll(). I'll remove it.


Repository:
  rL LLVM

https://reviews.llvm.org/D33325





More information about the llvm-commits mailing list