From nobody Mon Jun 29 06:11:45 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 4gpbX151Bpz6k3dX for ; Mon, 29 Jun 2026 06:11:45 +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 4gpbX11Q3Yz4DQb for ; Mon, 29 Jun 2026 06:11:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782713505; 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=k4/esdILC+iJnUDPWYK6eNPUT0P8wbBz8fsfrgTG4Ho=; b=ZpxUPLClOs8a1apvlvAujTZtsW2BVnHitYXsNBKFFphPCckRDo8pU+EO75ZyEfGCasQJQK YUTNb4e1/HzclGVUBJFRgJXLcOFerjtgGjS6k9wWmFXZ76UYgdoozxcFu6fySnNDuE/raF DiY8I/+XiQy5rXnETSQ6R0ttbmgUoOEn2dQfIHVXGBVcKeWUOLvScvM1mMnvbPhJBZJjk7 lvqHsPjv3fSQP/fydNBU3dvgPiX1Sv+Pp1ZPqFdVD+gkfRLkNND6kzJRHMUvyUUDfHXfTw N/OETxVM2xu021PRMVIqETsdPFKQP2n417VI9rqgGZOoQovDfzsGQnQ/lqWISg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782713505; a=rsa-sha256; cv=none; b=d3Rc5/9TF2Z5CvxPtYNA9unJEpM1W3BLBRK69qUofp4a92c3vOt4h/VD1lTZfDvNlOuURZ D/y58UrVi4ep+FVXUmW/c12AC4ZiXZFzvlrkbHtLz1JbCv2T7l1yU4ha/4evl2OXeM2aXK NURSR9NeavFHq6ZDWF0QEIJxBkPwBHVUFlk0Ft1SOe5wEU9qjt9P7xLZmERuCRAw2u9HLX vHzfQVi50FXc5PcpAjqY66DJON2LofOk3KcjUt2XJTQtjcNzzO2GGJr5RjX/Mt2TSpuRcn gpnoZvoBdtDhVEqUhSk7GZGQld13PoVePvMmwVr91rXt+eQJOdXSTWF/6TeFFA== 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=1782713505; 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=k4/esdILC+iJnUDPWYK6eNPUT0P8wbBz8fsfrgTG4Ho=; b=Tdtw/mR+vS3QPiCxN2qy0S9/BHpTcpUwWKeYqwBt9NHgKR68Q76DTxuj8e16e9yjACNEbu HR+y03U3Or+a+EhCGTttrl32oMo9iBL1hKSEhwdi37vTgSThZU9UXQBjCzH40Zwd8HHlRR fDngZ+/WE4eDogObI5+tpN4NjcJgowQdbIQX8SxM9S/wo9kGJrmBej9dlvtRPYUafBfjLt enfw4M76dOetvveOQhKwxoUi1fGUHZb93+ZCuA1+HHT7qIeTTKTCiyDc9VMeNTqIKz08iF BWCDHoVUITF0Nq25KXs/hutstm3g9tLAafd48ArWnt9IqCWmw/rZv/nBiafoVQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gpbX108nlzlPJ for ; Mon, 29 Jun 2026 06:11:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 44a9e by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 29 Jun 2026 06:11:45 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 65251c43415a - main - ntsync.4: be explicit about the effect of automatic vs manual event on waiters 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/main X-Git-Reftype: branch X-Git-Commit: 65251c43415aa0993b7d43962cbb71d772870c83 Auto-Submitted: auto-generated Date: Mon, 29 Jun 2026 06:11:45 +0000 Message-Id: <6a420ca1.44a9e.799aa65e@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=65251c43415aa0993b7d43962cbb71d772870c83 commit 65251c43415aa0993b7d43962cbb71d772870c83 Author: Konstantin Belousov AuthorDate: 2026-06-29 06:09:17 +0000 Commit: Konstantin Belousov CommitDate: 2026-06-29 06:11:23 +0000 ntsync.4: be explicit about the effect of automatic vs manual event on waiters Sponsored by: The FreeBSD Foundation MFC after: 3 days --- 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