mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
19353d3e68
Checking the state with a relaxed load before doing a compare_exchange_weak can reduce unnecessary coherence traffic on the CPU and improve performance. BUG=none TEST=unit tests Change-Id: Icabd9863ceb5ba674dbec601afee8f7962f69413 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2805753 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Chirantan Ekbote <chirantan@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_skip | ||
Cargo.toml |