]> Cypherpunks repositories - gostls13.git/commit
runtime/internal/atomic: remove double-check in kernelcas on linux/arm
authorTobias Klauser <tklauser@distanz.ch>
Thu, 18 Aug 2022 09:49:39 +0000 (11:49 +0200)
committerGopher Robot <gobot@golang.org>
Fri, 19 Aug 2022 17:28:00 +0000 (17:28 +0000)
commit0a1da095d1cef7c8ac6065da2983565b450566a5
tree6a5017293e763f3e944b2e2ead655e4ecb25311f
parentdc8e2a6a8ec94f2c98ba20edd57932eba284efb1
runtime/internal/atomic: remove double-check in kernelcas on linux/arm

Older kernels which require the double check of the __kuser_cmpxchg
result are no longer supported as of Go 1.18 which requires at least
Linux 2.6.32.

For #45964

Change-Id: Ic3d6691bf006353ac51b9d43e742d970e3d4e961
Reviewed-on: https://go-review.googlesource.com/c/go/+/424556
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/runtime/internal/atomic/sys_linux_arm.s