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

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 26 15:36:00 PDT 2017


alekseyshl 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
----------------
cryptoad wrote:
> alekseyshl wrote:
> > SCUDO_MAX_SHARED_THREAD_CACHES, maybe? 
> I would vote for something shorter if possible :)
SCUDO_MAX_CACHES is not clear at all, what kind of cache is governed by this define. Call it SCUDO_MAX_TSD_CACHES then.




https://reviews.llvm.org/D39338





More information about the llvm-commits mailing list