Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2003 12:23:27 -0500
From:      Hiten Pandya <hiten@unixdaemons.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        John Baldwin <jhb@FreeBSD.ORG>, FreeBSD current users <current@FreeBSD.ORG>
Subject:   Re: vnode locking question.
Message-ID:  <20030207172327.GA23165@unixdaemons.com>
In-Reply-To: <Pine.BSF.4.21.0302061052200.97117-100000@InterJet.elischer.org>
References:  <XFMail.20030206111319.jhb@FreeBSD.org> <Pine.BSF.4.21.0302061052200.97117-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 06, 2003 at 10:53:08AM -0800, Julian Elischer wrote the words in effect of:
> 
> 
> On Thu, 6 Feb 2003, John Baldwin wrote:
> 
> > 
> > On 05-Feb-2003 Julian Elischer wrote:
> > > 
> > > Is there ever a case when a vnode is locked for longer than the duration
> > > of the syscall that locked it?
> > 
> > Shouldn't be.  That would be a bug I believe.  Userland threads should
> > never hold any kernel locks.
> 
> That's what I think too but I just thought I'd ask..
> (NFS worries me a bit)
> 

If It did, wouldn't that give a panic() with something like:
	"panic: mutex held on exit to userland..."

... or something like that?

-- 
Hiten Pandya (hiten@unixdaemons.com, hiten@uk.FreeBSD.org)
http://www.unixdaemons.com/~hiten/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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