diff options
| author | Rhys Hiltner <rhys.hiltner@gmail.com> | 2024-05-29 16:43:38 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-05-30 17:57:37 +0000 |
| commit | 9114c51521c641ff6c33648da03774dc3eb86b79 (patch) | |
| tree | 69da837f335929871982d5958035d7a0ada92ced /src/runtime/runtime2.go | |
| parent | 3f4be127bcd6a45ae8d91d7363f56461c80b75fb (diff) | |
| download | go-9114c51521c641ff6c33648da03774dc3eb86b79.tar.xz | |
Revert "runtime: prepare for extensions to waiting M list"
This reverts commit be0b569caa0eab1a7f30edf64e550bbf5f6ff235 (CL 585635).
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: I7843ccaecbd273b7ceacfa0f420dd993b4b15a0a
Reviewed-on: https://go-review.googlesource.com/c/go/+/589117
Auto-Submit: Rhys Hiltner <rhys.hiltner@gmail.com>
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>
Diffstat (limited to 'src/runtime/runtime2.go')
| -rw-r--r-- | src/runtime/runtime2.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 8645532ae0..4a78963961 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -596,8 +596,8 @@ type m struct { createstack [32]uintptr // stack that created this thread, it's used for StackRecord.Stack0, so it must align with it. lockedExt uint32 // tracking for external LockOSThread lockedInt uint32 // tracking for internal lockOSThread + nextwaitm muintptr // next m waiting for lock - mWaitList mWaitList // list of runtime lock waiters mLockProfile mLockProfile // fields relating to runtime.lock contention profStack []uintptr // used for memory/block/mutex stack traces |
