Re: LOR route vr0

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Sun, 4 Sep 2005 15:00:46 -0700 (PDT)
On  4 Sep, Bjoern A. Zeeb wrote:
> On Thu, 1 Sep 2005, Don Lewis wrote:
> 
>> lock order reversal
>>  1st 0xc23e2018 fxp0 (network driver) _at_ /usr/src/sys/dev/fxp/if_fxp.c:1907
>>  2nd 0xc09387e0 Giant (Giant) _at_ /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) _at_ /usr/src/sys/geom/geom_io.c:465
>>  2nd 0xc09387e0 Giant (Giant) _at_ /usr/src/sys/geom/geom_disk.c:99
> 
> and this one with ID 149:
> 	http://sources.zabbadoz.net/freebsd/lor.html#149
> 

Thanks!
Received on Sun Sep 04 2005 - 20:00:54 UTC

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