From nobody Sun Dec 1 04:57:25 2024 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y1F5f3mYxz5gDF4; Sun, 01 Dec 2024 04:57:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y1F5d6GDzz49bX; Sun, 1 Dec 2024 04:57:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733029045; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=en0Evk4wwQeHt4efcjK6etpKKq8q6tpbVS5/CejHYcE=; b=QZsL2iSmxeOI3Wq+oIOMkjHAMEcYuyu+L3wnDuLsxWxi5Gw053Mtwe9wYDY3lzM3utH6HS VH8OVHs3IXiggQS2ujk5noXu2U0G8l05dsmQaU2WAJT5Rr9LG9JQIFidRggvODXA6ubLVc 5O2v30HGVC8M3oIDuUn2EPkneGkOMJbrVIV99Cb3q2dNgCa8FSHhESHItCvpsV0bGEGPXO j7HNJ24PLaF4CgE8jH/66mdwwMWuFpB5KLJXUFzSUr02yRIpuGGBbZ8XRPcRve7sW/rcQ6 Gjo/ATziTEmR2ngNovOBBEjxjGpIJ9I48XX5/qNPoSTMubEjXkpeB9pb55ps4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733029045; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=en0Evk4wwQeHt4efcjK6etpKKq8q6tpbVS5/CejHYcE=; b=LlZ3izwcXodNocookE1rn6ZJmTyJI2lhAvdkpxz2XQf5EPIuIOCY8HBPAPiNVYAd68Pqdz 3Ex5W47vZbgda/vh9U2ejdCvM82lyfIpnQgeJwN7TeaifpMG2IX63d7KU2KlJ6kRE/1YCw cFDOo0EOTYZZq2BbtuTHOWyInaP19+jh0lXclO5qiIMb7B6zDp23ywB3ZdGE/yU2p3VzGI YS8JRDJWoAah9jkAkxMuxpaj9nEMNU9NtkOkcFC7JO/7p8///U4VarCUiNxfihClqrz94o hRbzXFVhqQweM4vCr2gbTPJXV3mX+Rb9i0Ss579y7bw7EFNB+9hAZPSlF8ne6w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733029045; a=rsa-sha256; cv=none; b=gS8DRRBdTGihalvNvKJ0j0i4nyuDyU5cmabl8ce0FWM9S0xbnodNZ4xwJGQKE7oyZVNKb1 XbisoXfhXLc/Lw2c47rzwA3cY+cYMfeI9bBAwC6kSnwp8wQ+YpZCGSwMot0lDmnFd7YmZq e1XrxJv+f71SoLhn8mSI8kqPgrKAvpRTCEN53Gi3ZVrfDIXv5byN5S5a7C6kzGFrg9Zn+s oHW8tIVgBkFImfx2Leo3yTZDQ96DGhfGz1dUam8M6dHWWmnlx1iIvsPU1oUtk/ylHzsOn+ JDjSJg32D/gysWk6V+H3VXGWqt0mp/2lSX64gH91nHKEjXgUXPBFjUWOLKtrdA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y1F5d5mcPzfJ8; Sun, 1 Dec 2024 04:57:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B14vPJR095909; Sun, 1 Dec 2024 04:57:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B14vPc6095906; Sun, 1 Dec 2024 04:57:25 GMT (envelope-from git) Date: Sun, 1 Dec 2024 04:57:25 GMT Message-Id: <202412010457.4B14vPc6095906@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 40319a5e589c - stable/14 - atomic.9: Document atomic_testand*_64 and atomic_testandset_acq_long List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 40319a5e589cbba00c007c36209338f89d3dbef6 Auto-Submitted: auto-generated The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=40319a5e589cbba00c007c36209338f89d3dbef6 commit 40319a5e589cbba00c007c36209338f89d3dbef6 Author: John Baldwin AuthorDate: 2024-11-19 15:24:06 +0000 Commit: John Baldwin CommitDate: 2024-12-01 02:46:08 +0000 atomic.9: Document atomic_testand*_64 and atomic_testandset_acq_long Reviewed by: kib Sponsored by: AFRL, DARPA Differential Revision: https://reviews.freebsd.org/D47630 (cherry picked from commit 3ca22e1e8fc8ce927b3d064b29dfdc5df252e102) --- share/man/man9/atomic.9 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/share/man/man9/atomic.9 b/share/man/man9/atomic.9 index 98d392dd6032..436cfb7ee225 100644 --- a/share/man/man9/atomic.9 +++ b/share/man/man9/atomic.9 @@ -20,7 +20,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd January 16, 2023 +.Dd November 19, 2024 .Dt ATOMIC 9 .Os .Sh NAME @@ -480,10 +480,13 @@ and .Fn atomic_testandclear functions are only implemented for the types .Dq Li int , -.Dq Li long +.Dq Li long , +.Dq Li 32 , and -.Dq Li 32 -and do not have any variants with memory barriers at this time. +.Dq Li 64 +and generally do not have any variants with memory barriers at this time +except for +.Fn atomic_testandset_acq_long . .Pp The type .Dq Li 64