Module Name: src Committed By: jdolecek Date: Tue Apr 7 07:25:09 UTC 2020
Modified Files: src/share/man/man9: spl.9 Log Message: bring the section on automatic acquisition of kernel_lock up-to-date To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 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/spl.9 diff -u src/share/man/man9/spl.9:1.41 src/share/man/man9/spl.9:1.42 --- src/share/man/man9/spl.9:1.41 Thu Apr 6 03:00:13 2017 +++ src/share/man/man9/spl.9 Tue Apr 7 07:25:09 2020 @@ -1,4 +1,4 @@ -.\" $NetBSD: spl.9,v 1.41 2017/04/06 03:00:13 pgoyette Exp $ +.\" $NetBSD: spl.9,v 1.42 2020/04/07 07:25:09 jdolecek 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 April 6, 2017 +.Dd April 7, 2020 .Dt SPL 9 .Os .Sh NAME @@ -169,14 +169,17 @@ or endorsed .Xr pool_cache 9 interfaces to allocate memory. .Pp -At the time of writing, the global +The global .Dv kernel_lock -is automatically acquired for interrupts at this level, in order to +is automatically acquired for interrupts at this level by default, +in order to support device drivers that do not provide their own multiprocessor synchronization. -A future release of the system may allow the automatic acquisition of +The automatic acquisition of .Dv kernel_lock -to be disabled for individual interrupt handlers. +can be disabled for individual interrupt handlers by device drivers +if supported by subsystem, see e.g. +.Xr pci_intr_establish 9 . .Pp .Fn splbio , .Fn splnet ,