Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2005 09:55:29 +0600
From:      "Sergey N. Voronkov" <serg@tmn.ru>
To:        Mipam <mipam@ibb.net>, freebsd-stable@freebsd.org
Subject:   Re: em and bge driver MPSAFE?
Message-ID:  <20050524035529.GA25117@tmn.ru>
In-Reply-To: <20050522065326.GG959@funkthat.com>
References:  <Pine.BSO.4.56.0505111635500.27073@ux11.ltcm.net> <20050522065326.GG959@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 21, 2005 at 11:53:26PM -0700, John-Mark Gurney wrote:
> Mipam wrote this message on Wed, May 11, 2005 at 16:39 +0200:
> > Perhaps lame to ask,
> > But are the em and bge driver MPSAFE?
> > I couldn't find notes about being mpsafe in the man pages of these 
> > drivers?
> 
> I was about to point you to:
> http://www.freebsd.org/projects/busdma/
> 
> But realized that you probably wanted status on 5.x, and not HEAD...
> 
> a quick look at the code shows that both em and bge are MPSAFE... I
> can tell because of no references to Giant or GIANT, and that it using
> XX_LOCK and has functions ending in _locked in them...
> 
> Maybe we need to expand the busdma project to include which driver
> status for 5.x and HEAD?

Probably You are wrong at least about em driver: it steel makes page faults
in kernel mode on my Dual Xeon machine. :-(

"debug.mpsafenet=0" fix this issue completely.

Serg N. Voronkov,
Sibitex JSC.

P.S.: Server is under moderate load and is very important to keep it as
stable as possible, so I can't provide a dump, sorry.



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