aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime2.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/runtime2.go')
-rw-r--r--src/runtime/runtime2.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go
index 6d1f9b13a2..2b79717703 100644
--- a/src/runtime/runtime2.go
+++ b/src/runtime/runtime2.go
@@ -665,6 +665,7 @@ type m struct {
park note
alllink *m // on allm
schedlink muintptr
+ idleNode listNodeManual
lockedg guintptr
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
@@ -875,7 +876,7 @@ type schedt struct {
// When increasing nmidle, nmidlelocked, nmsys, or nmfreed, be
// sure to call checkdead().
- midle muintptr // idle m's waiting for work
+ midle listHeadManual // idle m's waiting for work
nmidle int32 // number of idle m's waiting for work
nmidlelocked int32 // number of locked m's waiting for work
mnext int64 // number of m's that have been created and next M ID