<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/cmd/internal/objabi/stack.go, branch makepkg</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=makepkg</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=makepkg'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2024-12-06T00:35:41Z</updated>
<entry>
<title>cmd/internal/objabi, internal/runtime: increase nosplit limit on OpenBSD</title>
<updated>2024-12-06T00:35:41Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2024-12-02T20:45:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=4da905bcf07d80eb62be5cb996e11a89258364ad'/>
<id>urn:sha1:4da905bcf07d80eb62be5cb996e11a89258364ad</id>
<content type='text'>
OpenBSD is bumping up against the nosplit limit, and openbsd/ppc64
is over it. Increase StackGuardMultiplier on OpenBSD, matching AIX.

Change-Id: I61e17c99ce77e1fd3f368159dc4615aeae99e913
Reviewed-on: https://go-review.googlesource.com/c/go/+/632996
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
</content>
</entry>
<entry>
<title>runtime,internal: move runtime/internal/sys to internal/runtime/sys</title>
<updated>2024-07-23T19:05:35Z</updated>
<author>
<name>David Chase</name>
<email>drchase@google.com</email>
</author>
<published>2024-07-23T15:43:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=fc5073bc155545dde4856cccdfcbb31880d1eb66'/>
<id>urn:sha1:fc5073bc155545dde4856cccdfcbb31880d1eb66</id>
<content type='text'>
Cleanup and friction reduction

For #65355.

Change-Id: Ia14c9dc584a529a35b97801dd3e95b9acc99a511
Reviewed-on: https://go-review.googlesource.com/c/go/+/600436
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
</content>
</entry>
<entry>
<title>runtime, cmd: rationalize StackLimit and StackGuard</title>
<updated>2023-04-21T19:28:56Z</updated>
<author>
<name>Austin Clements</name>
<email>austin@google.com</email>
</author>
<published>2023-04-19T18:01:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=0f099a4bc569e32fbddefb8e3de6b59cf6d1959d'/>
<id>urn:sha1:0f099a4bc569e32fbddefb8e3de6b59cf6d1959d</id>
<content type='text'>
The current definitions of StackLimit and StackGuard only indirectly
specify the NOSPLIT stack limit and duplicate a literal constant
(928). Currently, they define the stack guard delta, and from there
compute the NOSPLIT limit.

Rationalize these by defining a new constant, abi.StackNosplitBase,
which consolidates and directly specifies the NOSPLIT stack limit (in
the default case). From this we then compute the stack guard delta,
inverting the relationship between these two constants. While we're
here, we rename StackLimit to StackNosplit to make it clearer what's
being limited.

This change does not affect the values of these constants in the
default configuration. It does slightly change how
StackGuardMultiplier values other than 1 affect the constants, but
this multiplier is a pretty rough heuristic anyway.

                    before after
stackNosplit           800   800
_StackGuard            928   928
stackNosplit -race    1728  1600
_StackGuard -race     1856  1728

For #59670.

Change-Id: Ia94094c5e47897e7c088d24b4a5e33f5c2768db5
Reviewed-on: https://go-review.googlesource.com/c/go/+/486976
Auto-Submit: Austin Clements &lt;austin@google.com&gt;
Run-TryBot: Austin Clements &lt;austin@google.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>internal/abi, runtime, cmd: merge StackSmall, StackBig consts into internal/abi</title>
<updated>2023-04-21T19:28:53Z</updated>
<author>
<name>Austin Clements</name>
<email>austin@google.com</email>
</author>
<published>2023-04-19T17:21:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=03ad1f1a340841e7c60ee635ff894fe19cd99506'/>
<id>urn:sha1:03ad1f1a340841e7c60ee635ff894fe19cd99506</id>
<content type='text'>
For #59670.

Change-Id: I91448363be2fc678964ce119d85cd5fae34a14da
Reviewed-on: https://go-review.googlesource.com/c/go/+/486975
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Austin Clements &lt;austin@google.com&gt;
Auto-Submit: Austin Clements &lt;austin@google.com&gt;
</content>
</entry>
<entry>
<title>Revert "internal/abi, runtime, cmd: merge StackSmall, StackBig consts into internal/abi"</title>
<updated>2023-04-20T16:19:49Z</updated>
<author>
<name>Austin Clements</name>
<email>austin@google.com</email>
</author>
<published>2023-04-20T16:10:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=466e6dae9570ac88ef15c5f1bda9a59d7253cfee'/>
<id>urn:sha1:466e6dae9570ac88ef15c5f1bda9a59d7253cfee</id>
<content type='text'>
This reverts commit CL 486379.

Submitted out of order and breaks bootstrap.

Change-Id: Ie20a61cc56efc79a365841293ca4e7352b02d86b
Reviewed-on: https://go-review.googlesource.com/c/go/+/486917
TryBot-Bypass: Austin Clements &lt;austin@google.com&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
</content>
</entry>
<entry>
<title>Revert "runtime, cmd: rationalize StackLimit and StackGuard"</title>
<updated>2023-04-20T16:19:35Z</updated>
<author>
<name>Austin Clements</name>
<email>austin@google.com</email>
</author>
<published>2023-04-20T16:09:48Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d11ff3f08155b7614485d9b555e97f7a9555ede5'/>
<id>urn:sha1:d11ff3f08155b7614485d9b555e97f7a9555ede5</id>
<content type='text'>
This reverts commit CL 486380.

Submitted out of order and breaks bootstrap.

Change-Id: I67bd225094b5c9713b97f70feba04d2c99b7da76
Reviewed-on: https://go-review.googlesource.com/c/go/+/486916
Reviewed-by: David Chase &lt;drchase@google.com&gt;
TryBot-Bypass: Austin Clements &lt;austin@google.com&gt;
</content>
</entry>
<entry>
<title>runtime, cmd: rationalize StackLimit and StackGuard</title>
<updated>2023-04-20T16:05:21Z</updated>
<author>
<name>Austin Clements</name>
<email>austin@google.com</email>
</author>
<published>2023-04-19T18:01:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=921699fe5f67a2e5246badc8f626cc70a615ad1c'/>
<id>urn:sha1:921699fe5f67a2e5246badc8f626cc70a615ad1c</id>
<content type='text'>
The current definitions of StackLimit and StackGuard only indirectly
specify the NOSPLIT stack limit and duplicate a literal constant
(928). Currently, they define the stack guard delta, and from there
compute the NOSPLIT limit.

Rationalize these by defining a new constant, abi.StackNosplitBase,
which consolidates and directly specifies the NOSPLIT stack limit (in
the default case). From this we then compute the stack guard delta,
inverting the relationship between these two constants. While we're
here, we rename StackLimit to StackNosplit to make it clearer what's
being limited.

This change does not affect the values of these constants in the
default configuration. It does slightly change how
StackGuardMultiplier values other than 1 affect the constants, but
this multiplier is a pretty rough heuristic anyway.

                    before after
stackNosplit           800   800
_StackGuard            928   928
stackNosplit -race    1728  1600
_StackGuard -race     1856  1728

For #59670.

Change-Id: Ibe20825ebe0076bbd7b0b7501177b16c9dbcb79e
Reviewed-on: https://go-review.googlesource.com/c/go/+/486380
Run-TryBot: Austin Clements &lt;austin@google.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>internal/abi, runtime, cmd: merge StackSmall, StackBig consts into internal/abi</title>
<updated>2023-04-20T16:05:19Z</updated>
<author>
<name>Austin Clements</name>
<email>austin@google.com</email>
</author>
<published>2023-04-19T17:21:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=f5f7755da878934c3b0799f511f5c1d5711a0296'/>
<id>urn:sha1:f5f7755da878934c3b0799f511f5c1d5711a0296</id>
<content type='text'>
For #59670.

Change-Id: I04a17079b351b9b4999ca252825373c17afb8a88
Reviewed-on: https://go-review.googlesource.com/c/go/+/486379
Run-TryBot: Austin Clements &lt;austin@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
</content>
</entry>
<entry>
<title>runtime,cmd/link: increase stack guard space when building with -race</title>
<updated>2022-11-18T16:26:25Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2022-11-16T20:56:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=893964b9727a3dfcadab75c0f6b3c6b683b9bae0'/>
<id>urn:sha1:893964b9727a3dfcadab75c0f6b3c6b683b9bae0</id>
<content type='text'>
More stuff to do = more stack needed. Bump up the guard space when
building with the race detector.

Fixes #54291

Change-Id: I701bc8800507921bed568047d35b8f49c26e7df7
Reviewed-on: https://go-review.googlesource.com/c/go/+/451217
Run-TryBot: Keith Randall &lt;khr@golang.org&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/dist: force stackGuardMultiplierDefault to 1</title>
<updated>2022-08-05T15:19:31Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2022-07-11T20:49:19Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=b12366bbb5e83ce0c4d3958d87c0872d2ad0e3e2'/>
<id>urn:sha1:b12366bbb5e83ce0c4d3958d87c0872d2ad0e3e2</id>
<content type='text'>
Nothing seems to break, not even the noopt builder.

For #51256 (the conversation there is headed toward additional changes).

Change-Id: Icb7ca451159a74f351c25d2cefb32c773b9bb017
Reviewed-on: https://go-review.googlesource.com/c/go/+/416859
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
</feed>
