commit | c6e0970f75508e209a10a7db5164d6ea3f9b28bf | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Fri Feb 16 15:54:02 2018 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Tue Feb 20 15:29:10 2018 +0000 |
tree | f9bb71c8f7e952ea13f614a5afa63a89c8d7e429 | |
parent | 459a8a94e04a19bde7173ef7cf2db369c2e62e2d [diff] |
runtime: allow preemption in fast syscall return Let a fast syscall return be a preemption point. This helps with tight loops that make system calls, as in BenchmarkSyscallExcessWork. Change-Id: I9c723398cf1678afb70ca8281e9aa0339b98b8dc Reviewed-on: https://go-review.googlesource.com/94895 Reviewed-by: Than McIntosh <thanm@google.com>