Re: LOR in pseudofs

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 13 Aug 2004 11:24:39 -0400
On Friday 13 August 2004 10:42 am, Martin Blapp wrote:
> lock order reversal
>  1st 0xc0903e40 pseudofs_vncache (pseudofs_vncache) _at_
> /usr/src/sys/fs/pseudofs/pseudofs_vncache.c:226
>  2nd 0xc0908260 Giant (Giant) _at_ /usr/src/sys/kern/kern_synch.c:249
> KDB: stack backtrace:
> kdb_backtrace(c085002d,c0908260,c084d1f1,c084d1f1,c084dea8) at
> kdb_backtrace+0x2f

This just a result of the first warning.  If you sleep while holding a lock 
you will always get a LOR with Giant when you resume.

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Fri Aug 13 2004 - 15:26:35 UTC

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