From owner-cvs-all Thu Jan 11 12:16: 2 2001 Delivered-To: cvs-all@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id C82DC37B400; Thu, 11 Jan 2001 12:15:37 -0800 (PST) Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id MAA22571; Thu, 11 Jan 2001 12:15:27 -0800 Date: Thu, 11 Jan 2001 12:15:27 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: "Justin T. Gibbs" Cc: John Baldwin , Bruce Evans , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Jake Burkholder , =?ISO-8859-1?Q?G=E9rard_Roudier?= Subject: Re: cvs commit: src/sys/alpha/alpha interrupt.c machdep.c mp_mac In-Reply-To: <200101112012.f0BKC5s37267@aslan.scsiguy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 11 Jan 2001, Justin T. Gibbs wrote: > >> I prefer "curproc" to PCPU_GET(curproc). Curproc already tells me > >> that this variable must be per-cpu. > > > >How? > > Uhh. Because a current process spanning all CPUs makes no sense. Multiple threads? > > >And does witness_spin_check tell you this, or astpending? astpending > >wasn't even per-CPU before the first SMPng commit. How about common_tss? > > If I had reason to muck with those variables, I would have to already > know. I don't believe that the constant reminder that something > is per-cpu is required to write working code. Our developers are > smarter than that. > > -- > Justin > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message