From owner-freebsd-current Fri Feb 7 9:23:46 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F81837B401; Fri, 7 Feb 2003 09:23:45 -0800 (PST) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E5CB43FB1; Fri, 7 Feb 2003 09:23:44 -0800 (PST) (envelope-from hiten@angelica.unixdaemons.com) Received: from angelica.unixdaemons.com (hiten@localhost.unixdaemons.com [127.0.0.1]) by angelica.unixdaemons.com (8.12.7/8.12.1) with ESMTP id h17HNSOm024878; Fri, 7 Feb 2003 12:23:28 -0500 (EST) Received: (from hiten@localhost) by angelica.unixdaemons.com (8.12.7/8.12.1/Submit) id h17HNR6M024873; Fri, 7 Feb 2003 12:23:27 -0500 (EST) (envelope-from hiten) Date: Fri, 7 Feb 2003 12:23:27 -0500 From: Hiten Pandya To: Julian Elischer Cc: John Baldwin , FreeBSD current users Subject: Re: vnode locking question. Message-ID: <20030207172327.GA23165@unixdaemons.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: FreeBSD i386 X-Public-Key: http://www.pittgoth.com/~hiten/pubkey.asc X-URL: http://www.unixdaemons.com/~hiten X-PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandya&op=index Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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