[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 10:48:51 PDT 2018


cryptoad updated this revision to Diff 150541.
cryptoad added a comment.

Remove the `continue` clause from the loop when the TSD is the current TSD.
This is greatly beneficial to scenarios (Android for example) where we only
have a small number of TSDs. This doesn't impact larger pools of TSDs.


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.150541.patch
Type: text/x-patch
Size: 9679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180608/fcc77d2e/attachment.bin>


More information about the llvm-commits mailing list