From: Ian Lance Taylor plan9/*
.
+ A consequence of the implementation of preemption is that on Unix
+ systems, including Linux and macOS systems, programs built with Go
+ 1.14 will receive more signals than programs built with earlier
+ releases.
+ This means that programs that use packages
+ like syscall
+ or golang.org/x/sys/unix
+ will see more slow system calls fail with EINTR
errors.
+ Those programs will have to handle those errors in some way, most
+ likely looping to try the system call again. For more
+ information about this
+ see man
+ 7 signal
for Linux systems or similar documentation for
+ other systems.
+
The page allocator is more efficient and incurs significantly less
lock contention at high values of GOMAXPROCS
.