Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2001 12:34:28 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        hackers@freebsd.org
Cc:        dillon@earth.backplane.com
Subject:   Re: Page Coloring 
Message-ID:  <200108051934.f75JYSo35024@vashon.polstra.com>
In-Reply-To: <200108051929.f75JTgF82008@earth.backplane.com>
References:  <200108030347.f733lIC01436@mass.dis.org> <200108051913.f75JDir81853@earth.backplane.com> <200108051917.f75JHqn34961@vashon.polstra.com> <200108051929.f75JTgF82008@earth.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <200108051929.f75JTgF82008@earth.backplane.com>,
Matt Dillon  <dillon@earth.backplane.com> wrote:
> :Yes, I understand that.  I'm just trying to find out why Mike keeps
> :saying we cannot determine the processor cache characteristics at
> :runtime.
> :
> :John
> 
>     You can find out from the cpuid or something like that,

Yes.  As I said, you can find out from the CPUID instruction by
passing it the value 2 in %eax.

>     but it's probably easier to simply do it programmatically, or
>     not bother at all.  It's not worth the effort.  We would not
>     reap any additional benefit from knowing.

Opinions on that seem to vary wildly.  Mike said just the opposite.
Since that was not the point I addressed, I'll let the two of you
debate it out.

John
-- 
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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