LOR route vr0

Don Lewis truckman at FreeBSD.org
Sun Sep 4 15:00:54 PDT 2005


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!



More information about the freebsd-current mailing list