Date: Thu, 11 Jan 2001 12:15:27 -0800 (PST) From: Matthew Jacob <mjacob@feral.com> To: "Justin T. Gibbs" <gibbs@scsiguy.com> Cc: John Baldwin <jhb@FreeBSD.org>, Bruce Evans <bde@zeta.org.au>, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Jake Burkholder <jake@FreeBSD.org>, =?ISO-8859-1?Q?G=E9rard_Roudier?= <groudier@club-internet.fr> Subject: Re: cvs commit: src/sys/alpha/alpha interrupt.c machdep.c mp_mac Message-ID: <Pine.LNX.4.21.0101111215210.29666-100000@zeppo.feral.com> In-Reply-To: <200101112012.f0BKC5s37267@aslan.scsiguy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0101111215210.29666-100000>