commit | 0d6e52047e84a3b3592f8d317c047568c5bdcd8b | [log] [tgz] |
---|---|---|
author | Chia-hung Duan <chiahungduan@google.com> | Thu Sep 21 20:59:25 2023 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Sep 21 14:11:01 2023 -0700 |
tree | 01776821b93fef20f9cb975261d8dab9f4c7011b | |
parent | 8b99cb71cf96abaad2d37c71281536f2424247c0 [diff] |
[scudo] Fine tune busy-waiting in HybridMutex Instead of using hardware specific instruction, using simple loop over volatile variable gives similar and more predicatable waiting time. Also fine tune the waiting time to fit with the average time in malloc/free operations. Reviewed By: cferris Differential Revision: https://reviews.llvm.org/D156951 GitOrigin-RevId: cde307e4657738f1ef5f2eceaa7f896358acb3d6