Commit 6c58d28c authored by Dmitry Vyukov's avatar Dmitry Vyukov

runtime: cleanup

Cleanup after https://go-review.googlesource.com/3742

Change-Id: Iff3ceffc31b778b1ed0b730696fce6d1b5124447
Reviewed-on: https://go-review.googlesource.com/6761Reviewed-by: default avatarMinux Ma <minux@golang.org>
parent b0d54520
...@@ -2525,7 +2525,7 @@ func procresize(nprocs int32) *p { ...@@ -2525,7 +2525,7 @@ func procresize(nprocs int32) *p {
} }
sched.runqsize++ sched.runqsize++
} }
for i := range &p.sudogbuf { for i := range p.sudogbuf {
p.sudogbuf[i] = nil p.sudogbuf[i] = nil
} }
p.sudogcache = p.sudogbuf[:0] p.sudogcache = p.sudogbuf[:0]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment