From owner-freebsd-stable Mon Nov 29 10:10:43 1999 Delivered-To: freebsd-stable@freebsd.org Received: from trooper.velocet.net (trooper.velocet.net [216.126.82.226]) by hub.freebsd.org (Postfix) with ESMTP id 75F3C151DE for ; Mon, 29 Nov 1999 10:10:18 -0800 (PST) (envelope-from dgilbert@trooper.velocet.net) Received: (from dgilbert@localhost) by trooper.velocet.net (8.9.3/8.9.3) id NAA72998; Mon, 29 Nov 1999 13:10:12 -0500 (EST) (envelope-from dgilbert) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14402.49539.605255.833958@trooper.velocet.net> Date: Mon, 29 Nov 1999 13:10:11 -0500 (EST) To: John LoVerso Cc: stable@freebsd.org Subject: Re: curproc 0? In-Reply-To: <3842B827.11EEDD05@infolibria.com> References: <14402.43119.163568.35734@trooper.velocet.net> <3842B827.11EEDD05@infolibria.com> X-Mailer: VM 6.75 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "John" == John LoVerso writes: John> curproc is a magic pointer to the current process, set by the John> scheduler. If you inspect it from an interrupt or other John> non-process context, you'll find that it is 0. Well... the vinum code is calling tsleep() (in vinumlock.c at line 250) and curproc is 0... so what I'm asking here is if vinum should be calling this function, and if not, what? Or... should tsleep() not try to dereference curproc immediately? Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://www.velocet.net/~dgilbert | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message