Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2002 17:53:42 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-smp@freebsd.org
Subject:   RE: INTR_MPSAFE network drivers
Message-ID:  <XFMail.20020729175342.jhb@FreeBSD.org>
In-Reply-To: <15685.46052.696385.530549@grasshopper.cs.duke.edu>

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

On 29-Jul-2002 Andrew Gallatin wrote:
> 
> 
> What does a network driver need to do to mark itself INTR_MPSAFE?
> Eg, do I need to get Giant before callng ether_input()?
> 
> Why are no network drivers marked INTR_MPSAFE currently?
> Is the kernel not ready for mp safe network drivers?

Probably not.  Also, I think most of the current driver locks in
the network drivers probably aren't right.  They really should be
replaced with the locks on the ifnet structures associated with
each instance when ifnet structure locks are added.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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




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