From owner-freebsd-current Mon Aug 19 12:53:50 2002 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 AA3D437B401 for ; Mon, 19 Aug 2002 12:53:46 -0700 (PDT) Received: from blarf.homeip.net (adsl-209-204-188-56.sonic.net [209.204.188.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3FB743E4A for ; Mon, 19 Aug 2002 12:53:45 -0700 (PDT) (envelope-from sonicmail@blarf.homeip.net) Received: by blarf.homeip.net (Postfix, from userid 1006) id 6B79117C0; Mon, 19 Aug 2002 12:53:44 -0700 (PDT) Date: Mon, 19 Aug 2002 12:53:44 -0700 From: Alex Zepeda To: Don Lewis , current@freebsd.org Subject: Re: sleeping with "mntvnode" locked... Message-ID: <20020819195344.GA2182@blarf.homeip.net> References: <20020819083238.GA739@blarf.homeip.net> <200208190856.g7J8ucwr027114@gw.catspoiler.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200208190856.g7J8ucwr027114@gw.catspoiler.org> User-Agent: Mutt/1.5.1i 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 Mon, Aug 19, 2002 at 01:56:38AM -0700, Don Lewis wrote: > This is getting triggered by the kern.vnode sysctl. SMP or UP? SMP kernel, 1 processor until I find a lower profile heatsink. > Offhand > I have a hard time seeing how the sequence > vref(vp) > do cpu bound stuff > vrele(vp) > would do anything other than increment and decrement the vnode reference > count on a UP box. Even on an SMP box, what are the chances that some > other process would vrele() a vnode while the sysctl handler had a > reference to it and was copying some data from it? > > Does "sysctl kern.vnode" trigger this panic while the machine is idle? I can only assume no, as I've run sysctl -a many times in a row before that crash and since that crash and it's yet to crash again with that crash (it did fall over with a most recently used by temp panic after about five hours tho). - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message