]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - sys/i386/ibcs2/ibcs2_misc.c
Import CK as of 21d3e319407d19dece16ee317c757ffc54a452bc, which makes its
authorMarius Strobl <marius@FreeBSD.org>
Tue, 27 Nov 2018 12:35:51 +0000 (12:35 +0000)
committerMarius Strobl <marius@FreeBSD.org>
Tue, 27 Nov 2018 12:35:51 +0000 (12:35 +0000)
commitf993117205a94b6063a49b74d9ca717840837872
tree68ae434a480fbe167fddd37928605af11386b6f6
parent4effeb9e7b8c5a30d379b929395f19b54f5593c5
parent48289654a0ac91e3c29f25461373b3f1b7c82095
Import CK as of 21d3e319407d19dece16ee317c757ffc54a452bc, which makes its
sparcv9 atomics compatible with the FreeBSD kernel by using instructions
which access the appropriate address space.
Atomic operations within the kernel must access the nucleus address space
instead of the default primary one. Without this change but the increased
use of CK in the kernel, machines started to panic after some minutes of
uptime due to an unresolvable fault in ck_pr_cas_64_value().
sys/contrib/ck/include/gcc/sparcv9/ck_pr.h