Import CK as of 21d3e319407d19dece16ee317c757ffc54a452bc, which makes itssparcv9 atomics compatible with the FreeBSD kernel by using instructionswhich access the appropriate address space.Atomic o
Import CK as of 21d3e319407d19dece16ee317c757ffc54a452bc, which makes itssparcv9 atomics compatible with the FreeBSD kernel by using instructionswhich access the appropriate address space.Atomic operations within the kernel must access the nucleus address spaceinstead of the default primary one. Without this change but the increaseduse of CK in the kernel, machines started to panic after some minutes ofuptime due to an unresolvable fault in ck_pr_cas_64_value().
show more ...
Import CK as of commit b19ed4c6a56ec93215ab567ba18ba61bf1cfbac8It should fix ck_pr_[load|store]_ptr on mips and riscv, make sure no*fence instructions are used on i386, as older cpus don't support
Import CK as of commit b19ed4c6a56ec93215ab567ba18ba61bf1cfbac8It should fix ck_pr_[load|store]_ptr on mips and riscv, make sure no*fence instructions are used on i386, as older cpus don't support it, andmake sure we don't rely on gcc builtins that can lead to calls tolibatomic when linked with -O0.MFC after: 1 week
Import Concurrency Kit in the kernel.CK is a toolkit providing different lockfree algorithms/data structures.More information can be found here : www.concurrencykit.org