[PATCH] D64358: [scudo][standalone] Merge Spin & Blocking mutex into a Hybrid one

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 13:47:16 PDT 2019


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

- Adding constexpr for the number of yields & trys in the mutex class;
- Adding a test to ensure that `scudo::getPageSizeCached` is consitent with `getpagesize`;


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64358/new/

https://reviews.llvm.org/D64358

Files:
  lib/scudo/standalone/atomic_helpers.h
  lib/scudo/standalone/bytemap.h
  lib/scudo/standalone/common.h
  lib/scudo/standalone/fuchsia.cc
  lib/scudo/standalone/linux.cc
  lib/scudo/standalone/mutex.h
  lib/scudo/standalone/primary32.h
  lib/scudo/standalone/primary64.h
  lib/scudo/standalone/quarantine.h
  lib/scudo/standalone/secondary.cc
  lib/scudo/standalone/secondary.h
  lib/scudo/standalone/stats.h
  lib/scudo/standalone/tests/map_test.cc
  lib/scudo/standalone/tests/mutex_test.cc
  lib/scudo/standalone/tsd.h
  lib/scudo/standalone/tsd_exclusive.h
  lib/scudo/standalone/tsd_shared.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64358.208498.patch
Type: text/x-patch
Size: 23316 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190708/bf963d97/attachment.bin>


More information about the llvm-commits mailing list