]> Cypherpunks repositories - gostls13.git/commit
Revert "runtime: use semaphore structure for futex locks"
authorRhys Hiltner <rhys.hiltner@gmail.com>
Wed, 29 May 2024 16:42:57 +0000 (16:42 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 30 May 2024 17:57:34 +0000 (17:57 +0000)
commit3f4be127bcd6a45ae8d91d7363f56461c80b75fb
tree1cc1bc8de71944baeb6b324a3c36d9342df1bcaa
parentafbbc2894b4af076d7f171fd6e83541d35b7b5a3
Revert "runtime: use semaphore structure for futex locks"

This reverts commit dfb7073bb8e66630156fc14ae50042acef89a929 (CL 585636).

Reason for revert: This is part of a patch series that changed the
handling of contended lock2/unlock2 calls, reducing the maximum
throughput of contended runtime.mutex values, and causing a performance
regression on applications where that is (or became) the bottleneck.

Updates #66999
Updates #67585

Change-Id: I3483bf0b85ba0b77204032a68b7cbe93f142703e
Reviewed-on: https://go-review.googlesource.com/c/go/+/589098
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Rhys Hiltner <rhys.hiltner@gmail.com>
src/runtime/lock_futex.go