cvs commit: src/sys/net if.c

Robert Watson rwatson at FreeBSD.org
Sat Dec 2 00:59:53 PST 2006


On Fri, 1 Dec 2006, Alfred Perlstein wrote:

> * Gleb Smirnoff <glebius at FreeBSD.org> [061130 09:46] wrote:
>> On Thu, Nov 30, 2006 at 08:26:34PM +0300, Ruslan Ermilov wrote:
>> R> BTW, is if_{watchdog|timer} also dangerous for !MPSAFE drivers?
>>
>> It isn't. AFAIR, Robert promised to remove all !MPSAFE NIC drivers before 
>> RELENG_7.
>
> Other than performance issues, what's the point of doing this?
>
> To me that sounds like we'd lose all of usb ethernet as it stands.  I'm fine 
> with fixing usb ethernet, but not under some thread-model of developement.

You have been pointed to the USB stack rewrite for 7.x at least three times in 
the last 24 hours.  Getting developers involved in reviewing and testing this 
work would be very useful.

The point of removing compatibility code for non-MPSAFE drivers is to remove 
compatibility code for non-MPSAFE drivers.  For entertainment value, grep -i 
giant in src/sys/net.  We go through some odd contortions to acquire Giant 
where it is needed, defer work to run under Giant, and so on.

Robert N M Watson
Computer Laboratory
University of Cambridge


More information about the cvs-src mailing list