From owner-cvs-all Wed Sep 12 13:56: 3 2001 Delivered-To: cvs-all@freebsd.org Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id 6EBB337B408; Wed, 12 Sep 2001 13:55:56 -0700 (PDT) Received: from laptop.baldwin.cx (john@[147.11.46.201]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id NAA02305; Wed, 12 Sep 2001 13:55:55 -0700 (PDT) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200109122026.f8CKQw489633@freefall.freebsd.org> Date: Wed, 12 Sep 2001 13:55:49 -0700 (PDT) From: John Baldwin To: Julian Elischer Subject: RE: cvs commit: src/sys/kern kern_descrip.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 12-Sep-01 Julian Elischer wrote: > julian 2001/09/12 13:26:58 PDT > > Modified files: > sys/kern kern_descrip.c > Log: > If an incoming struct proc could have been NULL before, tehn don't > automatically change the code to add Most of these NULL checks are most likely bogus. Before SMPng we had no process for the idle context and curproc was NULL. However, SMPng reintroduced idle threads so that curproc is never NULL once it is first set in the MD startup code prior to mi_startup(). Well, s/curproc/curthread/. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message