]> Cypherpunks repositories - gostls13.git/commit
runtime: improve scheduler fairness
authorDmitriy Vyukov <dvyukov@google.com>
Sat, 15 Jun 2013 12:06:28 +0000 (16:06 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Sat, 15 Jun 2013 12:06:28 +0000 (16:06 +0400)
commit4bb491b12e1461252c9375d6b796c8658b10965f
tree3112ef070932858120af0a8c3cb3d4b5045d7dbb
parent5caf762457420bf6df0298a8d363ab60216f03bc
runtime: improve scheduler fairness
Currently global runqueue is starved if a group of goroutines
constantly respawn each other (local runqueue never becomes empty).
Fixes #5639.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/10042044
src/pkg/runtime/proc.c
src/pkg/runtime/proc_test.go