]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.18] runtime: align m.procid to 8 bytes on 32-bit systems
authorMichael Pratt <mpratt@google.com>
Tue, 12 Apr 2022 16:12:37 +0000 (12:12 -0400)
committerHeschi Kreinick <heschi@google.com>
Mon, 9 May 2022 20:24:44 +0000 (20:24 +0000)
commit4f4542479d27161d70b22557c52f182c0332ac7b
treeff139824648c54ff8d9d4ab80ed06be97f5ade13
parent13bda0ebfb00a84bfb422985c62914f2bcb62a40
[release-branch.go1.18] runtime: align m.procid to 8 bytes on 32-bit systems

https://go-review.googlesource.com/c/go/+/383434 started using
atomic Load64 on this field, which breaks 32 bit platforms which
require 64-bit alignment of uint64s that are passed to atomic operations.

Not sure why this doesn't break everywhere, but I saw it break on
my laptop during all.bash.

For #51776.
Fixes #52305.

Change-Id: Ida27b23068b3cc7208fce3c97b69a464ccf68209
Reviewed-on: https://go-review.googlesource.com/c/go/+/399754
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
(cherry-picked from commit ea7e3e3c0f561d1115d647e3e24ca61d0382e1ac)
Reviewed-on: https://go-review.googlesource.com/c/go/+/399954
Run-TryBot: Michael Pratt <mpratt@google.com>
src/runtime/runtime2.go