[PATCH] D100348: [hwasan] Fix lock contention on thread creation.
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 14 12:41:33 PDT 2021
eugenis added inline comments.
================
Comment at: compiler-rt/lib/hwasan/hwasan_thread_list.h:92
SpinMutexLock l(&list_mutex_);
if (!free_list_.empty()) {
t = free_list_.back();
----------------
vitalybuka wrote:
> unrelated to the patch but maybe free_list_ and live_list_ could have each own mutex
I've actually tried this and could not see a measurable perf improvement.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100348/new/
https://reviews.llvm.org/D100348
More information about the llvm-commits
mailing list