panic: lock (sleep mutex) inp not locked

Christian Brueffer chris at unixpages.org
Sun Nov 28 15:53:32 PST 2004


On Sun, Nov 28, 2004 at 05:34:20PM -0600, Jon Noack wrote:
> On 11/28/04 17:07, Christian Brueffer wrote:
> 
> I successfully used polling on my SMP machine a while back, but it 
> pessimized performance for my workloads so I disabled it.  All I did was 
> to wrap the SMP error in /sys/kern/kern_poll.c with #ifdef 0...#endif 
> and everything worked.

Worked here as well.  I don't think polling actually caused to panic,
I'm just mentioning for a full picture.

> 
> In any case, it seems rwatson@ is interested in polling on SMP; check 
> out his netperf page (http://www.watson.org/~robert/freebsd/netperf/) 
> for more info.  Specifically, the following entry in his 20041103 patch 
> is of interest:
> 
> "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."
> 
> No idea whether or not it works, but I thought I'd give you a heads up.
> 

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

-- 
Christian Brueffer	chris at unixpages.org	brueffer at FreeBSD.org
GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041129/eb0b59b1/attachment.bin


More information about the freebsd-stable mailing list