summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-11-09 01:23:11 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-11-09 01:23:11 +0000
commitb0fa6065ed3e242a96cbb91310544362ba87061e (patch)
tree69187542b85916ef5c20c39a068de482d0fe12de /share
parentc74044ef229093b70c1dbf5a9f2ce3ddd789772c (diff)
The spl() functions block interrupts of equal or lesser priority, not of
higher priority. This man page could use some more improvement, but this paragraph was too misleading to be ignored.
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/spl.913
1 files changed, 8 insertions, 5 deletions
diff --git a/share/man/man9/spl.9 b/share/man/man9/spl.9
index 90ed44aaebe..81a92196789 100644
--- a/share/man/man9/spl.9
+++ b/share/man/man9/spl.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: spl.9,v 1.6 2000/10/25 16:23:26 aaron Exp $
+.\" $OpenBSD: spl.9,v 1.7 2000/11/09 01:23:10 aaron Exp $
.\" $NetBSD: spl.9,v 1.1 1997/03/11 06:15:05 mikel Exp $
.\"
.\" Copyright (c) 1997 Michael Long.
@@ -70,10 +70,13 @@
.Fn splx "int s"
.Sh DESCRIPTION
These functions raise and lower the system priority level.
-They are used by kernel code running at any given priority level to
-block higher-priority interrupts, so that it can safely access
-variables or data structures which are used by kernel code that runs
-at a higher priority level.
+They are used by kernel code to block interrupts with priority less
+than or equal to the named level (i.e.,
+.Fn spltty
+blocks interrupts of priority less than or equal to
+.Dv IPL_TTY ) .
+The code may then safely access variables and data structures which
+are used by kernel code that runs at an equal or lower priority level.
.Pp
A
.Nm