Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2004 00:53:23 +0100
From:      Christian Brueffer <chris@unixpages.org>
To:        Jon Noack <noackjr@alumni.rice.edu>
Cc:        stable@freebsd.org
Subject:   Re: panic: lock (sleep mutex) inp not locked
Message-ID:  <20041128235323.GD16796@unixpages.org>
In-Reply-To: <41AA607C.80606@alumni.rice.edu>
References:  <20041128230705.GC16796@unixpages.org> <41AA607C.80606@alumni.rice.edu>

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

--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--



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