LOR in pseudofs

John Baldwin jhb at FreeBSD.org
Fri Aug 13 10:26:35 PDT 2004


On Friday 13 August 2004 10:42 am, Martin Blapp wrote:
> lock order reversal
>  1st 0xc0903e40 pseudofs_vncache (pseudofs_vncache) @
> /usr/src/sys/fs/pseudofs/pseudofs_vncache.c:226
>  2nd 0xc0908260 Giant (Giant) @ /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


More information about the freebsd-current mailing list