runtime: allow preemption in fast syscall return
commit5c86851d15e32cd60677d57bb88ac4a55cd1e03e
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Feb 2018 15:30:31 +0000 (20 15:30 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Feb 2018 15:30:31 +0000 (20 15:30 +0000)
tree140f7eca6d15defccbef94b9bfa5d41e30168520
parent0ea6d5cac3509cbbd1a09426836b50c9b858d040
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.

    Reviewed-on: https://go-review.googlesource.com/94895

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257848 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/go/runtime/proc.go