From owner-freebsd-hackers Thu Mar 30 15:44:10 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA02596 for hackers-outgoing; Thu, 30 Mar 1995 15:44:10 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id PAA02588 for ; Thu, 30 Mar 1995 15:44:07 -0800 Received: from corbin.Root.COM (corbin.Root.COM [198.145.90.18]) by Root.COM (8.6.8/8.6.5) with ESMTP id PAA15136; Thu, 30 Mar 1995 15:44:03 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.11/8.6.5) with SMTP id PAA00262; Thu, 30 Mar 1995 15:44:03 -0800 Message-Id: <199503302344.PAA00262@corbin.Root.COM> X-Authentication-Warning: corbin.Root.COM: Host localhost didn't use HELO protocol To: Michael Vernick cc: freebsd-hackers@FreeBSD.org Subject: Re: help with splbio, splnet, spl... In-reply-to: Your message of "Thu, 30 Mar 95 18:34:13 EST." <199503302334.SAA24705@cs.sunysb.edu> From: David Greenman Reply-To: davidg@Root.COM Date: Thu, 30 Mar 1995 15:44:02 -0800 Sender: hackers-owner@FreeBSD.org Precedence: bulk >Can someone point me to some documentation that explains how the spl >interrupts work? For example, in the Scsi code (scsi_scsi_cmd in >scsi_base.c) just before a command is sent to the adapter, a call is >made to splbio(). Does this mask all I/O interrupts? Network interrupts >too? It prevents interrupts from devices that are "bio" type. This is basically all disk controllers. Tty devices (such as serial ports) are blocked with spltty(). Network interrupts are blocked with splimp(). splhigh() and splclock() block all interrupts except "fast" interrupts. "fast" interrupts are special and can be explained if necessary; they are currently only used in the sio driver. -DG