Module Name: src
Committed By: pgoyette
Date: Thu Apr 6 02:23:26 UTC 2017
Modified Files:
src/share/man/man9: Makefile spl.9
Log Message:
Document splbio() as a deprecated synonym for splvm().
To generate a diff of this commit:
cvs rdiff -u -r1.404 -r1.405 src/share/man/man9/Makefile
cvs rdiff -u -r1.39 -r1.40 src/share/man/man9/spl.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/Makefile
diff -u src/share/man/man9/Makefile:1.404 src/share/man/man9/Makefile:1.405
--- src/share/man/man9/Makefile:1.404 Thu Apr 6 01:54:17 2017
+++ src/share/man/man9/Makefile Thu Apr 6 02:23:26 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.404 2017/04/06 01:54:17 pgoyette Exp $
+# $NetBSD: Makefile,v 1.405 2017/04/06 02:23:26 pgoyette Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@@ -851,7 +851,7 @@ MLINKS+=spl.9 spl0.9 spl.9 splbio.9 spl.
spl.9 splsched.9 spl.9 splserial.9 \
spl.9 splsoftclock.9 spl.9 splsoftnet.9 spl.9 splsoftserial.9 \
spl.9 splstatclock.9 spl.9 spltty.9 spl.9 splvm.9 spl.9 splx.9 \
- spl.9 splsoftbio.9
+ spl.9 splsoftbio.9 spl.9 splbio.9
MLINKS+=store.9 subyte.9 store.9 suibyte.9 store.9 susword.9 \
store.9 suswintr.9 store.9 suword.9 store.9 suiword.9
MLINKS+=sysctl.9 old_sysctl.9 \
Index: src/share/man/man9/spl.9
diff -u src/share/man/man9/spl.9:1.39 src/share/man/man9/spl.9:1.40
--- src/share/man/man9/spl.9:1.39 Tue Feb 16 19:21:30 2010
+++ src/share/man/man9/spl.9 Thu Apr 6 02:23:26 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: spl.9,v 1.39 2010/02/16 19:21:30 rmind Exp $
+.\" $NetBSD: spl.9,v 1.40 2017/04/06 02:23:26 pgoyette Exp $
.\"
.\" Copyright (c) 2000, 2001 Jason R. Thorpe. All rights reserved.
.\" Copyright (c) 1997 Michael Long.
@@ -27,7 +27,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd February 16, 2010
+.Dd April 6, 2017
.Dt SPL 9
.Os
.Sh NAME
@@ -35,6 +35,7 @@
.Nm spl0 ,
.Nm splhigh ,
.Nm splvm ,
+.Nm splbio ,
.Nm splsched ,
.Nm splsoftbio ,
.Nm splsoftclock ,
@@ -51,6 +52,8 @@
.Ft int
.Fn splsched void
.Ft int
+.Fn splbio void
+.Ft int
.Fn splvm void
.Ft int
.Fn splsoftbio void
@@ -168,6 +171,12 @@ synchronization.
A future release of the system may allow the automatic acquisition of
.Dv kernel_lock
to be disabled for individual interrupt handlers.
+.Pp
+.Fn splbio
+is a synonym for
+.Fn splvm .
+Its use is deprecated; all new code should use
+.Fn splvm .
.It Fn splsoftserial , IPL_SOFTSERIAL
.Pp
Blocks soft interrupts at the IPL_SOFTSERIAL symbolic level.