Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2000 16:52:47 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Bill Paul <wpaul@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/pci if_dc.c if_dcreg.h if_pcn.c if_pcnre
Message-ID:  <200010142352.QAA14629@john.baldwin.cx>
In-Reply-To: <Pine.BSF.4.21.0010150737490.46941-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 14-Oct-00 Bruce Evans wrote:
> On Fri, 13 Oct 2000, Bill Paul wrote:
> 
>> wpaul       2000/10/13 10:54:22 PDT
>> 
>>   Modified files:
>>     sys/pci              if_dc.c if_dcreg.h if_pcn.c if_pcnreg.h 
>>                          if_rl.c if_rlreg.h if_sf.c if_sfreg.h 
>>                          if_sis.c if_sisreg.h if_sk.c if_skreg.h 
>>                          if_ti.c if_tireg.h if_tl.c if_tlreg.h 
>>                          if_vr.c if_vrreg.h if_wb.c if_wbreg.h 
>>                          if_xl.c if_xlreg.h 
>>   Log:
>>   First round of converting network drivers from spls to mutexes. This
>>   takes care of all the 10/100 and gigE PCI drivers that I've done.
>>   Next will be the wireless drivers, then the USB ones. I may pick up
>>   some stragglers along the way. I'm sort of playing this by ear: if
>>   anyone spots any places where I've screwed up horribly, please let me
>>   know.
> 
> It seems premature to me.  Since spls have no effect, it is impossible to
> test any replacement for them.  The kernel essentially runs entirely at
> the old splhigh().  This has apparently already caused problems in the
> ahc driver.  Driver interrupt handling that works in -current might not
> work in -stable, because interrupts can actually occur in -stable.

We have to do it sometime. :)  As for -stable, I don't think Bill is planning
to MFC driver mutexes to -stable, seeing as how -stable doesn't even have
mutexes in the kernel. :-P  Unfortunately, testing some of the SMPng stuff
is going to require several different parts to be written, and simply holding
up development until the entire kernel is completely fixed with mutexes would
stifle development far too much.  This is -current after all.

> Bruce 

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010142352.QAA14629>