From nobody Mon Aug 3 00:25:30 2026 X-Original-To: dev-commits-src-all@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 4hCyBM2KNXz6mhwR for ; Mon, 03 Aug 2026 00:25:31 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hCyBM03XNz4PGD for ; Mon, 03 Aug 2026 00:25:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785716731; 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=fqwwgkW3XkE+iawa5ytAQ2MQqTglGHJuwE1cGKeHCak=; b=qqiTibzRMnCDPAgRCtPWIDDihCktQC1LIYK/Op1v7QGp5dWtwHK7dCBjMRoRZwWb6W2KS2 y5e6afZH+ytx7peFbatpvIx9yqy/14DBzPTT+eksSEMmtt94580+WTEVjciC1Vp21TuiDS monTfUcxButb+VkGDl1KwNJrJVkUZ7RRonqqCEluPPmD9TJ51vqJfzJnmlC7iAk2U2fbHT OZT+yNf44PWWoMfOFx0WCQ8cHh9TanmVkePr9S5/qVDtyPGrDdp5FE73wiQUVeIeltar7E gl3NqJdDLDb14kap83ixJGylCk3IPxxRWdkKtPL/GUUZf+48dxfguYKTzX92nw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785716731; a=rsa-sha256; cv=none; b=jO4BpsWAK5ieou9zTbRfK9mPvsn/yK+zlaOZ8dGfnJX0a2yKnONm0hA7cJ3h89rU6bjXOb pfpE47WAA6Qfr90ae15oHHx12+z4Wr7ZtMlMSbfiCaNEdYetO5BWXgbLadvasm9vUQ4tNs Pn+T4gOWZI+e3r038Z3u9MZITW+IjhWpSYbYTS9d/I6WWD9SoWPSttNIpqhH4mMznPAv+J 9ia9aaq2FhJfcMBIt44JlHhoulavdiks1wsVWKIAPjKV1TtkSxhVch8k51rJmbW2DY4rD1 MI7WrVufn9LE4Iqz2bOgTSUYPKxhLr+TZOeApUMTvO84ehyBW816OAfPn6dDEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785716731; 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=fqwwgkW3XkE+iawa5ytAQ2MQqTglGHJuwE1cGKeHCak=; b=YPhIuC+w0UteMiLKW81kblw+NxUy1B7ASsdT+oSKSxvNJqUpkUYlUrUubwH+pbfI4OS8LB L2TPHrJBXGE27x5+Wm7QFMriXCa/lsEFX2QSfYrr/tw5eOJCeVZua/dAYRgTqQXRBdruwG Sai/ZjF3BLLLgTqF+ag/A+YuMj+3xvrlPEZMh5NOuERLxrrVvTULRC+vu/5i3el5yTLhgD KSy+YSjklA9eABElAbKyLXq9yK+Bdem9zwnwWyDBbt2abPF67PNRkKuFxJhWkScWA5Q/Ty l/wJVy6bOS08omVV7vantD1NBUXgX+E+pvRLtGRy2Id72jFqwnSuseXEK/8qKg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hCyBL5sQ7zdxN for ; Mon, 03 Aug 2026 00:25:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1a399 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 03 Aug 2026 00:25:30 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 671e2cb6a237 - stable/15 - _umtx_op.2: document the CVWAIT_UMTX_TIME flag for the UMTX_OP_CV_WAIT_UC request List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 671e2cb6a2376015660441cf5ea97d520621e6ee Auto-Submitted: auto-generated Date: Mon, 03 Aug 2026 00:25:30 +0000 Message-Id: <6a6fdffa.1a399.1a2efb87@gitrepo.freebsd.org> The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=671e2cb6a2376015660441cf5ea97d520621e6ee commit 671e2cb6a2376015660441cf5ea97d520621e6ee Author: Konstantin Belousov AuthorDate: 2026-07-26 00:00:30 +0000 Commit: Konstantin Belousov CommitDate: 2026-08-03 00:23:15 +0000 _umtx_op.2: document the CVWAIT_UMTX_TIME flag for the UMTX_OP_CV_WAIT_UC request (cherry picked from commit f4a05f37936e422b1e8f4f127253562d3f58f50c) --- lib/libsys/_umtx_op.2 | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/lib/libsys/_umtx_op.2 b/lib/libsys/_umtx_op.2 index c590f8e8e0c8..8bdb20fa2178 100644 --- a/lib/libsys/_umtx_op.2 +++ b/lib/libsys/_umtx_op.2 @@ -752,15 +752,21 @@ After wakeup, the umutex is not relocked. .Pp The following flags are defined: -.Bl -tag -width "CVWAIT_CLOCKID" +.Bl -tag -width "CVWAIT_UMTX_TIME" .It Dv CVWAIT_ABSTIME Timeout is absolute. .It Dv CVWAIT_CLOCKID Clockid is provided. +.It Dv CVWAIT_UMTX_TIME +Timeout is specified by +.Vt struct umtx_time .El .Pp Optionally, a timeout for the request may be specified. -Unlike other requests, the timeout value is specified directly by a +If the +.Dv CVWAIT_UMTX_TIME +flag is not passed, then, unlike other requests, +the timeout value is specified directly by a .Vt struct timespec , pointed to by the .Fa uaddr2 @@ -783,6 +789,19 @@ If the flag is supplied, the timeout specifies absolute time value, otherwise it denotes a relative time interval. .Pp +Alternatively, if the +.Dv CVWAIT_UMTX_TIME +flag is passed, then the +.Dv CVWAIT_CLOCKID +and +.Dv CVWAIT_ABSTIME +flags must be not passed. +In this case, the +.Fa uaddr2 +points to the +.Va struct umtx_time +structure which specifes the timeout and clock identifier. +.Pp The request is not restartable. An unblocked signal delivered during the wait always results in sleep interruption and