CVSROOT: /cvs Module name: src Changes by: v...@cvs.openbsd.org 2020/07/08 09:53:59
Modified files: sys/arch/octeon/include: atomic.h Log message: Make membar_consumer() a plain compiler barrier in kernel on octeon. The processor does not perform speculative reads and only one of its execution pipes should issue memory accesses. As a result, loads should happen in the correct order without barrier instructions. Tested on CN5020, CN6120, CN7130 and CN7360. This diff has been in use on the octeon-based mips64 bulk build cluster for several months. Also tested in snaps for a while.