diff options
Diffstat (limited to 'src/runtime/proc.go')
-rw-r--r-- | src/runtime/proc.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go index 485bd65a9e..b72194c76a 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -5182,9 +5182,9 @@ func sysmon() { startm(nil, false) } } - if atomic.Load(&scavenge.sysmonWake) != 0 { + if scavenger.sysmonWake.Load() != 0 { // Kick the scavenger awake if someone requested it. - wakeScavenger() + scavenger.wake() } // retake P's blocked in syscalls // and preempt long running G's |