From nobody Wed Oct 12 16:46:27 2022 X-Original-To: dev-commits-src-main@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 4MndpC35qWz4fkg3; Wed, 12 Oct 2022 16:46:27 +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 4MndpC2Swcz3RBT; Wed, 12 Oct 2022 16:46:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665593187; 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=TlC8LmXrjZkTzIhcZPwm4gWR2MU9tr82Oz5HKb6M/6k=; b=mrLuXkNpvhXWgvaV1PZEcsVdb2yFdwHyFoK8Db+uEvYZO8uQRzjm4MCxqaHZGWa99/xej1 LlLx5UXLwFWxBzh8SPgwsibfa0LhTucLawnHvj+1QUAH93ZoBs+tGlDkrExi7+NiDtCadY KV82JzNuNKLEoL5IeAvrepgPCvcw2GMQeHOhmGO49gpA2b8Tc24b0CbZHf8zzwWGQDoM/f dXyNSTcxp2hWxUVErwKMkLs7TJZMjVgetPPoNQvX1+mh7sFakqwI4UDWi33RYvJ2DcKkGH Klc8jUuSQGMsl3Qb7IRdoaPWqT0u6zdCwq71j0yUp6eYZX1cWIE0ft5sVtsCdw== 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 4MndpC1JTLz1MbG; Wed, 12 Oct 2022 16:46:27 +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 29CGkRDO007590; Wed, 12 Oct 2022 16:46:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29CGkRMJ007589; Wed, 12 Oct 2022 16:46:27 GMT (envelope-from git) Date: Wed, 12 Oct 2022 16:46:27 GMT Message-Id: <202210121646.29CGkRMJ007589@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: 96b76a6a1edd - main - swi(9): clean up description of clk_intr_event List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 96b76a6a1edd6d0e0d4fa07c37d11d5805e8b8b3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665593187; 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=TlC8LmXrjZkTzIhcZPwm4gWR2MU9tr82Oz5HKb6M/6k=; b=mD+KiVZy6AQMr8cNli7TgMLKxhsHokxNFlLqI9GjO0/altd9HIuaFkrNJ+43TV490/1Xt2 JhhZQ6gKS2qMDiV+n6ddKxQFabwAXQpsb0fB1FqACKKv32O4sbqJ+xAiz0PhZL2hIl5eNt eiqOxMg+EO3Ac/ndP67mCvNur2mDfZaDcg1xyU5k7b8yR1CxRTEvCLVDzjvrP8K+W4tDWZ vF3J6co0VosKHeOAYmQBBjJtmlfPds+1v1MvdOnRnsgLSgeQa3tTF8iBbridBthF5bE2qM TKkQ+h+IMNwVUt49fxScYAyKh8hH8gxuhW3xJTBov2XXaZl62SHUxEaDf4fcNw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665593187; a=rsa-sha256; cv=none; b=fwusf0ybAhQY8aArolcfLP3GQ2gH4qQX4T+zExL0Z3cl7eip1YzKDaAEacErboZ7ZrGovb vjV5gNLHRi4PHMNdP3A7fN7JLVbPuRHuHny8ctrrU9LPfQ06dFIeHBhYsqaNhg01yLNh3s MnSy4bAv8OTFNe1YB09c86YN/5P8piyv5J5/A+NC1LCcGID+PO07LaorU7zDd+3HvCLrkS DN1fBZHt6DIYpwz9MwFKVKgPO2ljTsYZ9Q48sicC9zrKekrYRiYinlEEwNOxXNTrjQPT9v rMgoA5BucWhm9q6Gg0Sg3tXGA/p7WWYK3IQqcuAtziJNph6EHoKcccjY6yntRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=96b76a6a1edd6d0e0d4fa07c37d11d5805e8b8b3 commit 96b76a6a1edd6d0e0d4fa07c37d11d5805e8b8b3 Author: Mitchell Horne AuthorDate: 2022-10-12 16:35:23 +0000 Commit: Mitchell Horne CommitDate: 2022-10-12 16:46:12 +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 --- 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