Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2001 13:55:49 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Julian Elischer <julian@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/kern kern_descrip.c
Message-ID:  <XFMail.010912135549.jhb@FreeBSD.org>
In-Reply-To: <200109122026.f8CKQw489633@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010912135549.jhb>