aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mpallocbits.go
diff options
context:
space:
mode:
authorMauri de Souza Meneguzzo <mauri870@gmail.com>2023-10-17 22:54:27 +0000
committerGopher Robot <gobot@golang.org>2023-10-24 17:49:25 +0000
commit25ad137cf4f0823b877a19f36479dbde005bfa10 (patch)
tree92656ec542090457f2232bc472a020aff2c4c870 /src/runtime/mpallocbits.go
parent983d90e11dd0e12a484def454530fe9f5de031fc (diff)
downloadgo-25ad137cf4f0823b877a19f36479dbde005bfa10.tar.xz
runtime/internal/atomic: add memory barrier for mips Cas on failure
Add a memory barrier on the failure case of the compare-and-swap for mips, this avoids potential race conditions. For #63506 Change-Id: I3df1479d1438ba72aa72567eb3dea76ff745e98d GitHub-Last-Rev: 2101b9fd446f28f856986b27d20f92cd4a1f4fef GitHub-Pull-Request: golang/go#63604 Reviewed-on: https://go-review.googlesource.com/c/go/+/536116 Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/mpallocbits.go')
0 files changed, 0 insertions, 0 deletions