From owner-freebsd-arch Tue Jun 12 0:30:49 2001 Delivered-To: freebsd-arch@freebsd.org Received: from mailout00.sul.t-online.de (mailout00.sul.t-online.com [194.25.134.16]) by hub.freebsd.org (Postfix) with ESMTP id 8B15637B408 for ; Tue, 12 Jun 2001 00:30:41 -0700 (PDT) (envelope-from garyj@peedub.muc.de) Received: from fwd02.sul.t-online.de by mailout00.sul.t-online.de with smtp id 159idM-0003EU-03; Tue, 12 Jun 2001 09:30:40 +0200 Received: from peedub.muc.de (320038014727-0001@[62.226.149.82]) by fmrl02.sul.t-online.com with esmtp id 159idJ-0HlIsCC; Tue, 12 Jun 2001 09:30:37 +0200 Received: by peedub.muc.de (8.11.3/8.11.1) id f5C7UBp42275; Tue, 12 Jun 2001 09:30:11 +0200 (CEST) (envelope-from garyj) Content-Type: text/plain; charset="iso-8859-1" From: Gary Jennejohn Reply-To: garyj@jennejohn.org To: Dag-Erling Smorgrav , arch@freebsd.org Subject: Re: nextpid -> lastpid Date: Tue, 12 Jun 2001 09:30:10 +0200 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <01061209301015.02054@peedub.muc.de> Content-Transfer-Encoding: 8bit X-Sender: 320038014727-0001@t-dialin.net Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Monday 11 June 2001 19:33, Dag-Erling Smorgrav wrote: > The attached patch renames nextpid to lastpid, since most of the time, > that's what it is: the PID of the most recently started process > (though there is occasionally a very brief window during which it is > the PID of a process that hasn't yet started, but is about to). It > also externalizes it so linprocfs can access it without having to > resort to kernel_sysctlbyname(). In proc.h it's still called nextpid. -- Gary Jennejohn garyj@jennejohn.org gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message