]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFV: r341039, MFC: r341041, MF12: r341264
authormarius <marius@FreeBSD.org>
Thu, 29 Nov 2018 22:00:20 +0000 (22:00 +0000)
committermarius <marius@FreeBSD.org>
Thu, 29 Nov 2018 22:00:20 +0000 (22:00 +0000)
commitc32dd8a6d541beca8a5e9c75ae9e12ea08a2c015
tree2c359170d9c9f441c5a69117db4efff4637c3660
parent31143696e571ff2a8bbc819961cf75e529c25a83
MFV: r341039, MFC: r341041, MF12: r341264

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().

Approved by: re (gjb)
sys/contrib/ck/include/gcc/sparcv9/ck_pr.h