[PATCH] D47289: [scudo] Improve the scalability of the shared TSD model

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 8 08:22:41 PDT 2018


cryptoad updated this revision to Diff 150521.
cryptoad marked 3 inline comments as done.
cryptoad added a comment.
This revision is now accepted and ready to land.

Adding a comment to explain why we use the precedence as random seed.
Pass the current TSD to `getTSDAndLockSlow` to avoid an extra `getCurrentTSD`
call.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D47289

Files:
  lib/scudo/scudo_allocator.cpp
  lib/scudo/scudo_tsd.h
  lib/scudo/scudo_tsd_exclusive.cpp
  lib/scudo/scudo_tsd_exclusive.inc
  lib/scudo/scudo_tsd_shared.cpp
  lib/scudo/scudo_tsd_shared.inc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47289.150521.patch
Type: text/x-patch
Size: 9730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180608/7970eed8/attachment.bin>


More information about the llvm-commits mailing list