From 0ee6c762203867617e7cdb4b23222ddb2d2da8dd Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sat, 25 Feb 2006 19:35:46 +0000 Subject: [PATCH] Oops, overlooked some spl*() references in my last commit. --- share/man/man4/netgraph.4 | 12 +++++------- share/man/man9/crypto.9 | 7 +++---- share/man/man9/devstat.9 | 9 +++------ share/man/man9/mi_switch.9 | 3 +-- 4 files changed, 12 insertions(+), 19 deletions(-) diff --git a/share/man/man4/netgraph.4 b/share/man/man4/netgraph.4 index 9c1d455101..0511814704 100644 --- a/share/man/man4/netgraph.4 +++ b/share/man/man4/netgraph.4 @@ -34,7 +34,7 @@ .\" Archie Cobbs .\" .\" $FreeBSD: src/share/man/man4/netgraph.4,v 1.39.2.1 2001/12/21 09:00:50 ru Exp $ -.\" $DragonFly: src/share/man/man4/netgraph.4,v 1.3 2006/02/25 19:14:53 swildner Exp $ +.\" $DragonFly: src/share/man/man4/netgraph.4,v 1.4 2006/02/25 19:35:46 swildner Exp $ .\" $Whistle: netgraph.4,v 1.7 1999/01/28 23:54:52 julian Exp $ .\" .Dd January 19, 1999 @@ -218,10 +218,9 @@ Netgraph nodes and support routines generally run inside critical sections. However, some nodes may want to send data and control messages from a different priority level. Netgraph supplies queueing routines which -utilize the NETISR system to move message delivery to -.Fn splnet . -Note that messages are always received at -.Fn splnet . +utilize the NETISR system to move message delivery inside a critical +section. +Note that messages are always received from inside a critical section. .It It's possible for an infinite loop to occur if the graph contains cycles. .El @@ -254,8 +253,7 @@ Another example is a device driver that presents a node interface to the hardware. .Sh Node Methods Nodes are notified of the following actions via function calls -to the following node methods (all at -.Fn splnet ) +to the following node methods (all from inside critical sections) and may accept or reject that action (by returning the appropriate error code): .Bl -tag -width xxx diff --git a/share/man/man9/crypto.9 b/share/man/man9/crypto.9 index 4b7a947233..801f41fb1b 100644 --- a/share/man/man9/crypto.9 +++ b/share/man/man9/crypto.9 @@ -16,7 +16,7 @@ .\" PURPOSE. .\" .\" $FreeBSD: src/share/man/man9/crypto.9,v 1.3.2.2 2003/01/28 17:11:48 sam Exp $ -.\" $DragonFly: src/share/man/man9/crypto.9,v 1.2 2003/06/17 04:37:01 dillon Exp $ +.\" $DragonFly: src/share/man/man9/crypto.9,v 1.3 2006/02/25 19:35:46 swildner Exp $ .\" .Dd November 21, 2002 .Dt CRYPTO 9 @@ -250,9 +250,8 @@ routine. If the request was not successful, an error code is set in the .Va crp_etype field. -It is the responsibility of the callback routine to set the appropriate -.Xr spl 9 -level. +It is the responsibility of the callback routine to enter a critical +section. .It Va crp_etype Contains the error type, if any errors were encountered, or zero if the request was successfully processed. diff --git a/share/man/man9/devstat.9 b/share/man/man9/devstat.9 index c3d85eaae2..953009b73c 100644 --- a/share/man/man9/devstat.9 +++ b/share/man/man9/devstat.9 @@ -26,7 +26,7 @@ .\" SUCH DAMAGE. .\" .\" $FreeBSD: src/share/man/man9/devstat.9,v 1.10.2.5 2001/12/17 11:30:18 ru Exp $ -.\" $DragonFly: src/share/man/man9/devstat.9,v 1.2 2003/06/17 04:37:01 dillon Exp $ +.\" $DragonFly: src/share/man/man9/devstat.9,v 1.3 2006/02/25 19:35:46 swildner Exp $ .\" .Dd May 22, 1998 .Dt DEVSTAT 9 @@ -396,11 +396,8 @@ statistics system appeared in .Sh AUTHORS .An Kenneth Merry Aq ken@FreeBSD.org .Sh BUGS -There may be a need for -.Fn spl -protection around some of the -.Nm -list manipulation code to insure, for example, that the list of devices +There may be a need for some of the list manipulation code to be +inside a critical section to ensure, for example, that the list of devices is not changed while someone is fetching the .Va kern.devstat.all .Nm sysctl diff --git a/share/man/man9/mi_switch.9 b/share/man/man9/mi_switch.9 index e3b58c5ebb..4282113162 100644 --- a/share/man/man9/mi_switch.9 +++ b/share/man/man9/mi_switch.9 @@ -35,7 +35,7 @@ .\" POSSIBILITY OF SUCH DAMAGE. .\" .\" $FreeBSD: src/share/man/man9/mi_switch.9,v 1.7.2.4 2001/12/17 11:30:18 ru Exp $ -.\" $DragonFly: src/share/man/man9/Attic/mi_switch.9,v 1.3 2006/02/25 19:14:53 swildner Exp $ +.\" $DragonFly: src/share/man/man9/Attic/mi_switch.9,v 1.4 2006/02/25 19:35:46 swildner Exp $ .\" .Dd November 24, 1996 .Dt MI_SWITCH 9 @@ -149,7 +149,6 @@ should be called inside a critical section. .Pp .Sh SEE ALSO .Xr issignal 9 , -.Xr spl 9 , .Xr tsleep 9 , .Xr wakeup 9 .Pp -- 2.41.0