Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2001 13:12:05 -0700
From:      "Justin T. Gibbs" <gibbs@scsiguy.com>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        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:  <200101112012.f0BKC5s37267@aslan.scsiguy.com>
In-Reply-To: Your message of "Thu, 11 Jan 2001 11:52:46 PST." <XFMail.010111115246.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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.

>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?200101112012.f0BKC5s37267>