Subject: Re: Changes to firewire code
To: None <jchacon@genuity.net>
From: Manuel Bouyer <bouyer@asim.lip6.fr>
List: tech-kern
Date: 04/30/2001 14:25:24
On Sun, Apr 29, 2001 at 03:22:40PM -0400, jchacon@genuity.net wrote:
> Well, the card has to run at some IPL level for it's real interrupt handler.
> I suppose I could change it to use locks but the kthread still has to raise
> splbio before sleeping to avoid a wakeup race (which bit me more than once
> in testing).
Ha yes, of course :) I suppose sections of code run at splbio are small
then.
>
> Like I mentioned, what would be really useful is an easy way to just block
> your own interrupt (rather than the larger scale splXXX).
Yes, this would be usefull for disk drivers too (no need to block
all BIO interrupts for dealing with adapter stuffs. It's only the
filesystem code which needs this)
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--