From nobody Wed Oct 19 13:50:32 2022 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 4MssZ12296z4g1QC; Wed, 19 Oct 2022 13:50:33 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MssZ11SLwz3L2N; Wed, 19 Oct 2022 13:50:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666187433; 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=n4a0o5lF2l+ZCpHU77HWLuA3lgHSh4aDEf4sSqdaKN4=; b=e5Ts8gSxkDAGo27GQATq4WNyOdIEULU2bujhlRDYMvAhowdgSzuqvf23Hk0jpQx/zFZdod YlA/tTTutj7oLmQPGAANylsJoYFE8n6ePG+H/nJsvimwqFstSV5cHX0KOUqzU+j5zAOoEd 7ZFVtOr87sTwTrultcIS/i5nO6J7zZ28UUOD2MsJG/szaKk/rf0IjaF1zb00E3XdZjt8NW FNsk/ROxwG01N6Jh6jP9LsR4l2hurW6CNvmhiKwZRL8w/nea2bKxUTFJzD1i6Jsin65a2P WFrr/jaMhZN9UQ0VoTN+y9LxD6Er3YPA0DjAs5nAZ9MgbPxJE0cDvnSWBcpb0Q== 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 4MssZ10XLYzY8R; Wed, 19 Oct 2022 13:50:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29JDoWhW006499; Wed, 19 Oct 2022 13:50:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29JDoW70006498; Wed, 19 Oct 2022 13:50:32 GMT (envelope-from git) Date: Wed, 19 Oct 2022 13:50:32 GMT Message-Id: <202210191350.29JDoW70006498@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mitchell Horne Subject: git: 76366ad0257a - stable/13 - swi(9): clean up description of clk_intr_event 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 76366ad0257a24c142d18a53ccacd08c23721ae7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666187433; 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=n4a0o5lF2l+ZCpHU77HWLuA3lgHSh4aDEf4sSqdaKN4=; b=GRlP6jvtkOdCvi0DqgbNsmGjOxCRw1J2uwPUyjO4xQYsZVqNaLy4woNgYKP6xJsk2RmL24 GQQtwNIhyrpkGQ/4hEeT6mW6wk4CwgyQBFZKWZaCd++eORmwy2qvA++frLwyoKWxKU97eK tP59KILIK8Jo/Cp3Ou34PmBY//hyO/9PF/16XP714inKOmaaqWVS/vk05xPQhuyREaj5He PMmvcCtvVx1ha7ed15Frh8jTEO37IDAefHpZQhBBIZWGwbXWPUA/H7sL3w2sM9ghw6ni7Q S5MUhUPk76uy3b79EIBlK5aXIIIXj4CpmUD67dFqj7raa9hV+MgWYTDdnr+7Dg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666187433; a=rsa-sha256; cv=none; b=vkfnl2+XR3iGZ7HEiIVRP3PlSLJN4g5um3X9B+7/beEmHLcj6kAI8KVoFAG9KeuuDDUGI3 Ri33cWItFRPVAaY+zmO1eR8ikjR3qRSZITqUSPeP5ME5ahI0oJeA2QJOH2ZunyVaU9GLfX Gj+1BYk4aZ+Fft/YxE4QxXgtXFoqDmBow7dntC7x96FrGDAtFamiIHjCx1H1+TIBaoewLN CJLM20IIQ1UIGdQDN3wi3h4/iWKMB3Yn4YcD5zdYG+G95Az99fjAKMHjDyC/NKJWonVImK HPiIYS+Y7PYSDWF0eFDAKc3M4IYG31hNBHYqAtDpxjedyHTQIStHaIoSMeuTCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=76366ad0257a24c142d18a53ccacd08c23721ae7 commit 76366ad0257a24c142d18a53ccacd08c23721ae7 Author: Mitchell Horne AuthorDate: 2022-10-12 16:35:23 +0000 Commit: Mitchell Horne CommitDate: 2022-10-19 13:46:28 +0000 swi(9): clean up description of clk_intr_event From what I can tell, setdelayed() was removed so long ago that its mention is more likely to be confusing than helpful. We now have a manpage for hardclock(9), so reference that. Reviewed by: markj MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D36937 (cherry picked from commit 96b76a6a1edd6d0e0d4fa07c37d11d5805e8b8b3) --- share/man/man9/swi.9 | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/share/man/man9/swi.9 b/share/man/man9/swi.9 index d86538e31fd1..0dfc924325d6 100644 --- a/share/man/man9/swi.9 +++ b/share/man/man9/swi.9 @@ -139,12 +139,6 @@ Instead, .Fa handler will be executed the next time that the software interrupt thread runs after being scheduled by another event. -Attaching a handler to the clock software interrupt thread and using this flag -when scheduling a software interrupt handler can be used to implement the -functionality performed by -.Fn setdelayed -in earlier versions of -.Fx . .It Dv SWI_FROMNMI Specifies that .Fn swi_sched @@ -163,11 +157,9 @@ clock software interrupts, respectively. .Va tty_intr_event is used to hang tty software interrupt handlers off of the same thread. .Va clk_intr_event -is used to hang delayed handlers off of the clock software interrupt thread so -that the functionality of -.Fn setdelayed -can be obtained in conjunction with -.Dv SWI_DELAY . +is used to hang delayed handlers off of the clock interrupt, and is invoked +directly by +.Xr hardclock 9 . .Sh RETURN VALUES The .Fn swi_add @@ -222,6 +214,7 @@ is .Dv NULL . .El .Sh SEE ALSO +.Xr hardclock 9 , .Xr ithread 9 , .Xr taskqueue 9 .Sh HISTORY