Commit 779c45a
committed
runtime: improved scheduler
Distribute runnable queues, memory cache
and cache of dead G's per processor.
Faster non-blocking syscall enter/exit.
More conservative worker thread blocking/unblocking.
R=dave, bradfitz, remyoudompheng, rsc
CC=golang-dev
https://golang.org/cl/73140621 parent d17506e commit 779c45a
3 files changed
+993
-826
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1633 | 1633 | | |
1634 | 1634 | | |
1635 | 1635 | | |
1636 | | - | |
1637 | | - | |
1638 | | - | |
1639 | | - | |
1640 | | - | |
1641 | | - | |
1642 | | - | |
1643 | | - | |
1644 | | - | |
1645 | 1636 | | |
1646 | 1637 | | |
1647 | 1638 | | |
1648 | 1639 | | |
1649 | 1640 | | |
| 1641 | + | |
1650 | 1642 | | |
1651 | 1643 | | |
1652 | 1644 | | |
| |||
1655 | 1647 | | |
1656 | 1648 | | |
1657 | 1649 | | |
1658 | | - | |
1659 | | - | |
1660 | 1650 | | |
1661 | 1651 | | |
1662 | 1652 | | |
| |||
1665 | 1655 | | |
1666 | 1656 | | |
1667 | 1657 | | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
1668 | 1664 | | |
1669 | 1665 | | |
1670 | 1666 | | |
| |||
1819 | 1815 | | |
1820 | 1816 | | |
1821 | 1817 | | |
1822 | | - | |
1823 | | - | |
1824 | | - | |
1825 | 1818 | | |
1826 | 1819 | | |
1827 | 1820 | | |
| 1821 | + | |
| 1822 | + | |
1828 | 1823 | | |
1829 | 1824 | | |
1830 | 1825 | | |
| |||
0 commit comments