• Austin Clements's avatar
    runtime: allow more CPUs on FreeBSD · a714470c
    Austin Clements authored
    Currently the FreeBSD CPU affinity code assumes that the maximum
    GOMAXPROCS is 256, but we just removed that limit.
    
    This commit rewrites the FreeBSD CPU affinity code to raise the CPU
    count limit to 65,536, like the Linux CPU affinity code, and to
    degrade more gracefully if we do somehow go over that.
    
    Change-Id: Ic4ca7f88bd8b9448aae4dbd43ef21a6c1b8fea63
    Reviewed-on: https://go-review.googlesource.com/66291
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    a714470c
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...