From owner-cvs-all Wed Apr 28 14:17:14 1999 Delivered-To: cvs-all@freebsd.org Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (Postfix) with ESMTP id 0B6E214C02; Wed, 28 Apr 1999 14:17:09 -0700 (PDT) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id RAA08494; Wed, 28 Apr 1999 17:17:09 -0400 (EDT) (envelope-from luoqi) Date: Wed, 28 Apr 1999 17:17:09 -0400 (EDT) From: Luoqi Chen Message-Id: <199904282117.RAA08494@lor.watermarkgroup.com> To: dfr@nlsystems.com, tejblum@arc.hq.cti.ru Subject: Re: cvs commit: src/sys/alpha/alpha pmap.c Cc: cvs-all@freebsd.org, cvs-committers@freebsd.org, dt@freebsd.org, luoqi@freebsd.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > On Thu, 29 Apr 1999, Dmitrij Tejblum wrote: > > That's because Luoqi removed "curproc = p; /* XXX redundant */" from > > init_proc0(). > > Any idea where it should be done nowdays? > > Maybe locore? I think that the i386 port does it there. I haven't tested > this patch. > This is no longer true. The per-cpu private data segment selector has not been setup at that point, so I moved it to init386(). I wasn't sure if it's safe to set curproc later in proc0_init(), but now it looks like it probably is. > -- > Doug Rabson Mail: dfr@nlsystems.com > Nonlinear Systems Ltd. Phone: +44 181 442 9037 > -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message