• Elias Naur's avatar
    runtime: avoid arm64 8.1 atomics on Android · efd22923
    Elias Naur authored
    The kernel on some Samsung S9+ models reports support for arm64 8.1
    atomics, but in reality only some of the cores support them. Go
    programs scheduled to cores without support will crash with SIGILL.
    
    This change unconditionally disables the optimization on Android.
    A better fix is to precisely detect the offending chipset.
    
    Fixes #28431
    
    Change-Id: I35a1273e5660603824d30ebef2ce7e429241bf1f
    Reviewed-on: https://go-review.googlesource.com/c/147377
    Run-TryBot: Elias Naur <elias.naur@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    efd22923
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...