Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Sep 2005 15:00:46 -0700 (PDT)
From:      Don Lewis <truckman@FreeBSD.org>
To:        bzeeb-lists@lists.zabbadoz.net
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: LOR route vr0
Message-ID:  <200509042200.j84M0k3P028894@gw.catspoiler.org>
In-Reply-To: <Pine.BSF.4.53.0509041538430.93099@e0-0.zab2.int.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On  4 Sep, Bjoern A. Zeeb wrote:
> On Thu, 1 Sep 2005, Don Lewis wrote:
> 
>> lock order reversal
>>  1st 0xc23e2018 fxp0 (network driver) @ /usr/src/sys/dev/fxp/if_fxp.c:1907
>>  2nd 0xc09387e0 Giant (Giant) @ /usr/src/sys/kern/kern_poll.c:460
> 
> added with ID 148:
> 	http://sources.zabbadoz.net/freebsd/lor.html#148

jhb commented that the polling code should use something other than
Giant to protect it's data structures, which would eliminate this LOR.

It looks like LOR 120, 121, 122, 125, 126, 128, 130, 131, 133, 135, 136,
139, 140, 142, 143, 145, 146, 150, 151, 152, 153, 154, and 156 are all
caused by the use of Giant in the polling code.

>> lock order reversal
>>  1st 0xe35e0cc4 g_xdown (g_xdown) @ /usr/src/sys/geom/geom_io.c:465
>>  2nd 0xc09387e0 Giant (Giant) @ /usr/src/sys/geom/geom_disk.c:99
> 
> and this one with ID 149:
> 	http://sources.zabbadoz.net/freebsd/lor.html#149
> 

Thanks!




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