Re: A pair of LORs

From: Antoine Brodin <antoine.brodin_at_laposte.net>
Date: Mon, 14 Mar 2005 11:41:53 +0100
"Bjoern A. Zeeb" <bzeeb-lists_at_lists.zabbadoz.net> wrote:
> On Mon, 14 Mar 2005, Antoine Brodin wrote:
> 
> > Derek Tattersall <dlt_at_mebtel.net> wrote:
> > > This happened on a 6.0 current system supped and built this
> > > morning. I didn't see this recorded on Herr Zeeb's page, so
> > > perhaps somebody has some clues to offer?
> > [snip]
> > > lock order reversal
> > > 1st 0xc26f1300 so_rcv (so_rcv) _at_
> > > /usr/src/sys/kern/uipc_socket.c:1256 2nd 0xc23a96c4 skc0 (network
> > > driver) _at_ /usr/src/sys/pci/if_sk.c:1112
> >
> > For the second LOR, you can try the patch available at:
> > http://sources.zabbadoz.net/freebsd/patchset/if_sk.c-HEAD-20050303-01.diff
> 
> if you are going to try that please use the [1-4]of4 patches from
> same directory and apply in ascending order.
> 
> But I doubt it will help with this LOR (but testing would be good
> anyway;)
> 
> An interesting thing to know would be if you have sk0 and sk1 (dual
> port) ?

I think it can definitively help: with the patch, sk_jfree uses a leaf
mutex and no longer uses the network driver mutex.

Cheers,

Antoine
Received on Mon Mar 14 2005 - 09:43:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:29 UTC