K 10 svn:author V 3 kib K 8 svn:date V 27 2015-10-02T13:21:08.886122Z K 7 svn:log V 644 FreeBSD does not support SMP on ARMv5. Since processor is always self-consistent, there is no need in anything but compiler barrier in the implementation of atomic_thread_fence_*() on ARMv5. Split implementation of fences for ARMv4/5 and ARMv6; the former use compiler barriers, the later also perform hardware barriers. An issue which is fixed by the change is the faults from the CP15 coprocessor accesses in the user mode. This was uncovered by the pthread_once() changes in r287556. Reported by: Mattia Rossi Discussed with: alc, cognet, jhb Sponsored by: The FreeBSD Foundation MFC after: 1 week END