Module Name: src
Committed By: ad
Date: Wed Sep 6 20:17:43 UTC 2023
Modified Files:
src/lib/libc/atomic: atomic_ops.3
Log Message:
Node that aarch64 implements CAS.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 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.9
--- src/lib/libc/atomic/atomic_ops.3:1.8 Sat Jun 16 08:11:32 2018
+++ src/lib/libc/atomic/atomic_ops.3 Wed Sep 6 20:17:42 2023
@@ -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.9 2023/09/06 20:17:42 ad 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