Module Name: src Committed By: martin Date: Sun Dec 8 14:26:39 UTC 2019
Modified Files: src/distrib/sets/lists/comp [netbsd-9]: mi src/share/man/man9 [netbsd-9]: Makefile src/sys/sys [netbsd-9]: atomic.h Added Files: src/share/man/man9 [netbsd-9]: atomic_loadstore.9 Log Message: Pull up following revision(s) (requested by riastradh in ticket #508): distrib/sets/lists/comp/mi: revision 1.2294 share/man/man9/Makefile: revision 1.443 sys/sys/atomic.h: revision 1.18 share/man/man9/atomic_loadstore.9: revision 1.1 share/man/man9/atomic_loadstore.9: revision 1.2 New atomic load/store operations for the kernel. Guarantee no fusing and no tearing, and can optionally impose ordering relative to other memory operations. Unordered: - atomic_load_relaxed - atomic_store_relaxed Ordered: - atomic_load_acquire - atomic_load_consume - atomic_store_release These are intended to match C11 semantics, and can be defined in terms of the C11 atomic API when ready. Document relation to atomic_ops(3) and membar_ops(3). To generate a diff of this commit: cvs rdiff -u -r1.2278.2.4 -r1.2278.2.5 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.437.2.2 -r1.437.2.3 src/share/man/man9/Makefile cvs rdiff -u -r0 -r1.5.2.2 src/share/man/man9/atomic_loadstore.9 cvs rdiff -u -r1.13 -r1.13.22.1 src/sys/sys/atomic.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.