From owner-freebsd-stable@FreeBSD.ORG Sun Nov 28 23:53:32 2004 Return-Path: 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 7D86816A4CE for ; Sun, 28 Nov 2004 23:53:32 +0000 (GMT) Received: from ms-dienst.rz.rwth-aachen.de (ms-2.rz.RWTH-Aachen.DE [134.130.3.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3083043D2D for ; Sun, 28 Nov 2004 23:53:32 +0000 (GMT) (envelope-from chris@unixpages.org) Received: from r220-1 (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) with ESMTP id <0I7W009NAYD6NH@ms-dienst.rz.rwth-aachen.de> for stable@freebsd.org; Mon, 29 Nov 2004 00:53:31 +0100 (MET) Received: from relay.rwth-aachen.de ([134.130.3.1]) by r220-1 (MailMonitor for SMTP v1.2.2 ) ; Mon, 29 Nov 2004 00:53:30 +0100 (MET) Received: from haakonia.hitnet.rwth-aachen.de (haakonia.hitnet.RWTH-Aachen.DE [137.226.181.92])iASNrTad019597; Mon, 29 Nov 2004 00:53:30 +0100 (MET) Received: from gondor.middleearth (gondor.middleearth [192.168.1.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))(Postfix) with ESMTP id 35E0328442; Mon, 29 Nov 2004 00:53:24 +0100 (CET) Received: by gondor.middleearth (Postfix, from userid 1001) id 87D2722859; Mon, 29 Nov 2004 00:53:23 +0100 (CET) Date: Mon, 29 Nov 2004 00:53:23 +0100 From: Christian Brueffer In-reply-to: <41AA607C.80606@alumni.rice.edu> To: Jon Noack Message-id: <20041128235323.GD16796@unixpages.org> MIME-version: 1.0 Content-type: multipart/signed; boundary="at6+YcpfzWZg/htY"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 6.0-CURRENT X-PGP-Key: http://people.freebsd.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D References: <20041128230705.GC16796@unixpages.org> <41AA607C.80606@alumni.rice.edu> cc: stable@freebsd.org Subject: Re: panic: lock (sleep mutex) inp not locked X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Nov 2004 23:53:32 -0000 --at6+YcpfzWZg/htY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 28, 2004 at 05:34:20PM -0600, Jon Noack wrote: > On 11/28/04 17:07, Christian Brueffer wrote: >=20 > I successfully used polling on my SMP machine a while back, but it=20 > pessimized performance for my workloads so I disabled it. All I did was= =20 > to wrap the SMP error in /sys/kern/kern_poll.c with #ifdef 0...#endif=20 > and everything worked. Worked here as well. I don't think polling actually caused to panic, I'm just mentioning for a full picture. >=20 > In any case, it seems rwatson@ is interested in polling on SMP; check=20 > out his netperf page (http://www.watson.org/~robert/freebsd/netperf/)=20 > for more info. Specifically, the following entry in his 20041103 patch= =20 > is of interest: >=20 > "A mutex to protect device polling state is introduced, pollmtx, and > used to protect the global variables present in kern_poll.c. As a > result, Giant is removed from the polling netisr code, and the > #ifdef causing polling build to fail on SMP is removed. This has > not been tested." >=20 > No idea whether or not it works, but I thought I'd give you a heads up. >=20 I've tested those and I'm actually trying to track down a related panic at the moment (didn't want to bother Robert with it for the moment, he's busy enough :-)). - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --at6+YcpfzWZg/htY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBqmTzbHYXjKDtmC0RAvZvAKCV9XEQ7T8jWIE2jhOIuTqlA+UGwwCgnGdj 4Uff+iJ6sFjQ8s4Nf9WTAzY= =BB/+ -----END PGP SIGNATURE----- --at6+YcpfzWZg/htY--