From owner-freebsd-hackers Tue Sep 9 22:29:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA07044 for hackers-outgoing; Tue, 9 Sep 1997 22:29:27 -0700 (PDT) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA07039 for ; Tue, 9 Sep 1997 22:29:24 -0700 (PDT) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id GAA20837; Wed, 10 Sep 1997 06:19:15 +0200 From: Luigi Rizzo Message-Id: <199709100419.GAA20837@labinfo.iet.unipi.it> Subject: Re: interrupts in interrupt routines To: joerg_wunsch@uriah.heep.sax.de Date: Wed, 10 Sep 1997 06:19:15 +0200 (MET DST) Cc: luigi@labinfo.iet.unipi.it (Luigi Rizzo), hackers@freebsd.org In-Reply-To: <19970909225801.RL53370@uriah.heep.sax.de> from "J Wunsch" at Sep 9, 97 10:57:42 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > RTFM. :-) > > > SPL(9) FreeBSD Kernel Developer's Manual SPL(9) thanks for pointing out the page. > assigns interrupt 12 to the ``tty'' priority group. The system automati- > cally arranges for interrupts in the xxx group to be called at a priority > >= splxxx (). does the >= make any sense since there is no ordering, just masks ? Also, since we are on the subject: for certain things, such as the sound driver, etc. it would suffice to block interrupts for the single device, not for all of them or even for larger groups. Would it be a problem to have fine-grained masks ? One could worry about having too many masks, but since there are just 16 interrupt lines in the PC architecture maybe scalability is not a problem... Any ideas on how to implement this ? Cheers Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________