[PATCH] D39338: [scudo] Allow to specify the maximum number of TSDs at compile time

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 26 13:39:56 PDT 2017


cryptoad added inline comments.


================
Comment at: lib/scudo/scudo_platform.h:44
+// Maximum number of caches that can be created for the Shared TSD model.
+#ifndef SCUDO_MAX_CACHES
+# define SCUDO_MAX_CACHES 32U
----------------
alekseyshl wrote:
> SCUDO_MAX_SHARED_THREAD_CACHES, maybe? 
I would vote for something shorter if possible :)


https://reviews.llvm.org/D39338





More information about the llvm-commits mailing list