runtime: allow preemption in fast syscall return
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 20 Feb 2018 15:30:31 +0000 (15:30 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 20 Feb 2018 15:30:31 +0000 (15:30 +0000)
commit911cef2e3ba7548ee13e761f88457c6bbe1fa7fe
tree140f7eca6d15defccbef94b9bfa5d41e30168520
parent9bd958c5f361337b15958be8641d59ad38bd0a2b
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

From-SVN: r257848
gcc/go/gofrontend/MERGE
libgo/go/runtime/proc.go