Module Name: src
Committed By: martin
Date: Sat Jul 20 15:00:36 UTC 2024
Modified Files:
src/lib/libc/atomic [netbsd-10]: atomic_ops.3
Log Message:
Pull up following revision(s) (requested by rin in ticket #748):
lib/libc/atomic/atomic_ops.3: revision 1.9
Note that aarch64 implements CAS.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.8.12.1 src/lib/libc/atomic/atomic_ops.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/atomic/atomic_ops.3
diff -u src/lib/libc/atomic/atomic_ops.3:1.8 src/lib/libc/atomic/atomic_ops.3:1.8.12.1
--- src/lib/libc/atomic/atomic_ops.3:1.8 Sat Jun 16 08:11:32 2018
+++ src/lib/libc/atomic/atomic_ops.3 Sat Jul 20 15:00:36 2024
@@ -1,10 +1,10 @@
-.\" $NetBSD: atomic_ops.3,v 1.8 2018/06/16 08:11:32 dholland Exp $
+.\" $NetBSD: atomic_ops.3,v 1.8.12.1 2024/07/20 15:00:36 martin Exp $
.\"
-.\" Copyright (c) 2007, 2008 The NetBSD Foundation, Inc.
+.\" Copyright (c) 2007, 2008, 2020, 2023 The NetBSD Foundation, Inc.
.\" All rights reserved.
.\"
.\" This code is derived from software contributed to The NetBSD Foundation
-.\" by Jason R. Thorpe.
+.\" by Jason R. Thorpe, and by Andrew Doran.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd February 7, 2018
+.Dd September 6, 2023
.Dt ATOMIC_OPS 3
.Os
.Sh NAME
@@ -68,7 +68,7 @@ spinlock.
The chosen method is not ordinarily distinguishable by or visible to users
of the interface.
The following architectures can be assumed to provide CAS in hardware:
-alpha, amd64, i386, powerpc, powerpc64, sparc64.
+aarch64, alpha, amd64, i386, powerpc, powerpc64, sparc64.
.Ss Scope and Restrictions
If hardware CAS is available, the atomic operations are globally atomic:
operations within a memory region shared between processes are