[PartitionAlloc] Exponential backoff in SpinningFutex.
The latency of "pause" is unusually high on the Skylake Client architecture. This is likely not affecting us though, as the spinning loop is short. Add a comment noting this (with a link to the Intel optimization manual), and follow the best practice highlighted in the manual, namely exponential backoff with "pause". Bug: 1125999 Change-Id: Ia233aa5ae4b9cd58b24897537861b60c7d4ca05a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2465745Reviewed-by:Egor Pasko <pasko@chromium.org> Commit-Queue: Benoit L <lizeb@chromium.org> Cr-Commit-Position: refs/heads/master@{#816665}
Showing
Please register or sign in to comment