From nobody Thu Jul 2 00:23:29 2026 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 4grHfn43R0z6kvBJ for ; Thu, 02 Jul 2026 00:23:29 +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 4grHfn3WTZz3Xwt for ; Thu, 02 Jul 2026 00:23:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782951809; 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=O3kklKXTFuBO4qzMJX59/93qvQMjFa/b6p40F1jqd/8=; b=xwyD5FixSXfalKWTN84OqMtFx8UmjSiSwBVUGB+PaG8r+L0AdYa2QqZtbxmLWyE5u5Fz9b Cwf9tVMG0Manluq+0yZYEG7gpKiNmbPBG/INPQTrEu5+DfGv6kpfJWAH0XrljVCU5jb9t3 VYrMXyVIdPkEW2JDJqFeIXgPUyFHy51If9okOUolx1BJ5GKeGeEEIQ7LcpyQij1k1dn9kO Df1VOjX+QljQhsFPA2/JiNoIPg7SVrJI4QIaC4iQZDJ85hehNcWMJ966h4TcojcVIoFCLb atWGfAqrkOYG19LH8MGJQwzOCR7O8HgXZJ7wVeZRslK5K6rfmWiNnIRB9GFbjQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782951809; a=rsa-sha256; cv=none; b=r9CiIvge6GXnKC4/3yd5hrZIpaYNdCgLtKvkj75NrDRYTqJ+QnHBRz4pXiMzxEtbSSlspk EZlTisXVKGDTubq0McbJKHSIJjprehVPZjajOq2yaabilTZYJcvqtbvyrzbDiM0JqEucw4 ds08R+/bR3smvwBWhXAVPIlpEl2C1ZW37bwjy+6upVC5L88HLa2MkZGnKp3RZCrNu/3gxz 3QEgyzFedYRcUmzgZSZ6P7LQ97StazRJwg16pUeiwzOroeTzUVszvyFe6/FgudKdrCz/9L /K3Uh9ogt+UmtT5bIHBZjOwqomG0y+54AC3wTp7qhEvTOagxoEFNkM32alCTSw== 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=1782951809; 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=O3kklKXTFuBO4qzMJX59/93qvQMjFa/b6p40F1jqd/8=; b=kounTfpdfQlmi89nnxucMxUyxRZMGR24ARgN7nRZJvjoF3oUflwN/CfSW70/ole7iDrIQ3 K0d6Wwg0uVcTAYFEZ6MKsj82hY0JUyTKk/qrQONYWZZ5e+mIWYhhLYrtgXRJT1Y0E4NrMS /0fDlBCOdZsiJ8iLgRZRlZSsRcZ2cxBa0GZBH6YF9rF6uOKEeoTaA1L19tmgJswe906lPo x9X3MpzALrhj1txNX64CyZUh2OUHpOpMh0nNij+Y7VYtJz5EDS0pu4ijna/RyoVbGuZhrI WUZp1dTyTHIkCN523w1q7kuhta5/PAAp+Zwwv6lgrR8fPTjvwfkVvRh8VxyS2A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4grHfn2M5Jzdnv for ; Thu, 02 Jul 2026 00:23:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 24c83 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 02 Jul 2026 00:23:29 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: f27c1da74aab - stable/15 - ntsync.4: be explicit about the effect of automatic vs manual event on waiters 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 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: f27c1da74aaba31e8203eb70a1695c422adb9c5b Auto-Submitted: auto-generated Date: Thu, 02 Jul 2026 00:23:29 +0000 Message-Id: <6a45af81.24c83.3c2d40ac@gitrepo.freebsd.org> The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=f27c1da74aaba31e8203eb70a1695c422adb9c5b commit f27c1da74aaba31e8203eb70a1695c422adb9c5b Author: Konstantin Belousov AuthorDate: 2026-06-29 06:09:17 +0000 Commit: Konstantin Belousov CommitDate: 2026-07-02 00:23:07 +0000 ntsync.4: be explicit about the effect of automatic vs manual event on waiters (cherry picked from commit 65251c43415aa0993b7d43962cbb71d772870c83) --- share/man/man4/ntsync.4 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/share/man/man4/ntsync.4 b/share/man/man4/ntsync.4 index 2776a4b0e691..c808dfdac3b4 100644 --- a/share/man/man4/ntsync.4 +++ b/share/man/man4/ntsync.4 @@ -183,9 +183,15 @@ Reset (dis-arms) the event. Takes a 32bit integer argument where the state of the event before the operation is returned. .It Dv NTSYNC_IOC_EVENT_PULSE -Atomically sets and then resets the event. +Atomically sets the event, wakes up eligible waiters, +and then resets the event. Takes a 32bit integer argument where the state of the event before the operation is returned. +.Pp +If the manual event is pulsed, it wakes up all waiters, +after which it is reset. +On the other hand, the automatic event is reset after +waking up at most a single waiter. .It Dv NTSYNC_IOC_EVENT_READ Returns the current state of the event. Takes the