From owner-freebsd-stable@FreeBSD.ORG Tue May 24 03:55:42 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0277F16A41C for ; Tue, 24 May 2005 03:55:42 +0000 (GMT) (envelope-from serg@tmn.ru) Received: from sbtx.tmn.ru (sbtx.tmn.ru [212.76.160.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41FB343D1D for ; Tue, 24 May 2005 03:55:40 +0000 (GMT) (envelope-from serg@tmn.ru) Received: from sv.tech.sibitex.tmn.ru (sv.tech.sibitex.tmn.ru [10.76.160.59]) by sbtx.tmn.ru (8.13.3/8.13.3) with ESMTP id j4O3tU08036498; Tue, 24 May 2005 09:55:31 +0600 (YEKST) (envelope-from serg@tmn.ru) Received: from sv.tech.sibitex.tmn.ru (localhost.tech.sibitex.tmn.ru [127.0.0.1]) by sv.tech.sibitex.tmn.ru (8.13.3/8.13.3) with ESMTP id j4O3tUAb025189; Tue, 24 May 2005 09:55:30 +0600 (YEKST) (envelope-from serg@sv.tech.sibitex.tmn.ru) Received: (from serg@localhost) by sv.tech.sibitex.tmn.ru (8.13.3/8.13.3/Submit) id j4O3tTQ9025188; Tue, 24 May 2005 09:55:29 +0600 (YEKST) (envelope-from serg) Date: Tue, 24 May 2005 09:55:29 +0600 From: "Sergey N. Voronkov" To: Mipam , freebsd-stable@freebsd.org Message-ID: <20050524035529.GA25117@tmn.ru> References: <20050522065326.GG959@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050522065326.GG959@funkthat.com> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on sbtx.tmn.ru X-Virus-Status: Clean Cc: Subject: Re: em and bge driver MPSAFE? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2005 03:55:42 -0000 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.