git: 96b76a6a1edd - main - swi(9): clean up description of clk_intr_event

From: Mitchell Horne <>
Date: Wed, 12 Oct 2022 16:46:27 UTC
The branch main has been updated by mhorne:


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:
 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 .
 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
+is used to hang delayed handlers off of the clock interrupt, and is invoked
+directly by
+.Xr hardclock 9 .
 .Fn swi_add
@@ -222,6 +214,7 @@ is
 .Dv NULL .
+.Xr hardclock 9 ,
 .Xr ithread 9 ,
 .Xr taskqueue 9