b0a2a81 [release-branch.go1.13] runtime: call goready in wakeScavenger instead of ready

1 file Authored by Michael Anthony Knyszek 4 years ago, Committed by Dmitri Shuralyov 4 years ago,
    [release-branch.go1.13] runtime: call goready in wakeScavenger instead of ready
    
    This changes fixes an oversight in wakeScavenger which would cause ready
    to be called off of the system stack. This change makes it so that
    wakeScavenger calls goready, which switches to the system stack before
    calling ready.
    
    Fixes #36127.
    
    Change-Id: Icb13f180b4d8fdd47c921eac1b896e3dd49e43b3
    Reviewed-on: https://go-review.googlesource.com/c/go/+/200999
    Run-TryBot: Michael Knyszek <mknyszek@google.com>
    Reviewed-by: Keith Randall <khr@golang.org>
    (cherry picked from commit 2c87be436bddd9b49f11959adee1ae817cb48ee1)
    Reviewed-on: https://go-review.googlesource.com/c/go/+/212103
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Austin Clements <austin@google.com>
    
        
file modified
+1 -1