linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Jochen Hein <jochen@jochen.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6] Missing L2-cache after warm boot
Date: Mon, 1 Dec 2003 11:33:00 -0800	[thread overview]
Message-ID: <20031201113300.7eb9bb7f.rddunlap@osdl.org> (raw)
In-Reply-To: <87ptf8bpnd.fsf@echidna.jochen.org>

On Mon, 01 Dec 2003 15:04:22 +0100 Jochen Hein <jochen@jochen.org> wrote:

| 
| I'm running 2.6.0-test11 on an older Thinkpad 390E,
| When booting into 2.6.0-test11 after running Windows2000 I get:
| 
...
| Dec  1 14:51:56 gswi1164 kernel: Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
| Dec  1 14:51:56 gswi1164 kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
| Dec  1 14:51:56 gswi1164 kernel: CPU: L1 I cache: 16K, L1 D cache: 16K
...
| 
| When booting cold the boot messages are:
| 
...
| Dec  1 14:54:57 gswi1164 kernel: Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
| Dec  1 14:54:57 gswi1164 kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
| Dec  1 14:54:57 gswi1164 kernel: CPU: L1 I cache: 16K, L1 D cache: 16K
| Dec  1 14:54:57 gswi1164 kernel: CPU: L2 cache: 256K

Can you apply this patch so that we can see what cache/TLB descriptors
are found during the boot?

--
~Randy


description:	dump cache/TLB descriptors while trying to identify them
product_versions: Linux 2.6.0-test11

diffstat:=
 arch/i386/kernel/cpu/intel.c |    1 +
 1 files changed, 1 insertion(+)

diff -Naurp ./arch/i386/kernel/cpu/intel.c~caches ./arch/i386/kernel/cpu/intel.c
--- ./arch/i386/kernel/cpu/intel.c~caches	2003-11-26 12:43:27.000000000 -0800
+++ ./arch/i386/kernel/cpu/intel.c	2003-12-01 11:04:46.000000000 -0800
@@ -187,6 +187,7 @@ static void __init init_intel(struct cpu
 				unsigned char des = dp[j];
 				unsigned char k = 0;
 
+				printk("CPU: searching for des = 0x%x\n", des);
 				/* look up this descriptor in the table */
 				while (cache_table[k].descriptor != 0)
 				{


  reply	other threads:[~2003-12-01 19:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-01 14:04 Jochen Hein
2003-12-01 19:33 ` Randy.Dunlap [this message]
2003-12-02 13:16   ` Jochen Hein
2003-12-02 18:14     ` Mike Fedyk
2003-12-02 19:15       ` Jochen Hein
2003-12-02  3:00 ` Ian Hastie
2003-12-02 13:26   ` Jochen Hein
2003-12-03 17:10     ` Ian Hastie
2003-12-03 17:37       ` Jochen Hein

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=20031201113300.7eb9bb7f.rddunlap@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=jochen@jochen.org \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [2.6] Missing L2-cache after warm boot' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).