All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: "David B. Stevens" <dsteven3@maine.rr.com>
Cc: Jamie Lokier <jamie@shareable.org>,
	michaelc <michaelc@turbolinux.com.cn>,
	linux-kernel@vger.kernel.org
Subject: Re: about PENTIUM4 cache line
Date: Sun, 17 Aug 2003 21:45:15 +0100	[thread overview]
Message-ID: <20030817204514.GB2225@redhat.com> (raw)
In-Reply-To: <3F3FE763.20503@maine.rr.com>

On Sun, Aug 17, 2003 at 04:36:51PM -0400, David B. Stevens wrote:
 > What's even more interesting is the following:

why ?

 > tux:/usr/src/linux-2.6.0-test3 # grep -r "CONFIG_X86_L1_CACHE_SHIFT" *
 > arch/i386/defconfig:CONFIG_X86_L1_CACHE_SHIFT=7
 > arch/x86_64/defconfig:CONFIG_X86_L1_CACHE_SHIFT=6

correct default values for P4 and Hammer respectively.

 > include/asm-x86_64/cache.h:#define L1_CACHE_SHIFT 
 > (CONFIG_X86_L1_CACHE_SHIFT)

Looks sane.

 > include/linux/autoconf.h:#define CONFIG_X86_L1_CACHE_SHIFT 5

compile-time generated from .config

 > include/asm-i386/cache.h:#define L1_CACHE_SHIFT (CONFIG_X86_L1_CACHE_SHIFT)
 > include/asm/cache.h:#define L1_CACHE_SHIFT      (CONFIG_X86_L1_CACHE_SHIFT)

looks sane

 > include/config/x86/l1/cache/shift.h:#define CONFIG_X86_L1_CACHE_SHIFT 5

compile time generated from .config.

		Dave

-- 
 Dave Jones     http://www.codemonkey.org.uk

  reply	other threads:[~2003-08-17 20:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-09  9:03 about PENTIUM4 cache line michaelc
2001-08-08 11:52 ` shutdown on pressing the ATX power button Sergei Haller
2001-08-09 17:56   ` Pavel Machek
2003-08-17 20:25 ` about PENTIUM4 cache line Jamie Lokier
2003-08-17 20:36   ` David B. Stevens
2003-08-17 20:45     ` Dave Jones [this message]
2003-08-17 20:58       ` David B. Stevens
2003-08-17 20:42   ` Dave Jones
2003-08-17 22:52   ` Philippe Elie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030817204514.GB2225@redhat.com \
    --to=davej@redhat.com \
    --cc=dsteven3@maine.rr.com \
    --cc=jamie@shareable.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michaelc@turbolinux.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.