From: Yinghai Lu <yhlu.kernel@gmail.com>
To: Jack Steiner <steiner@sgi.com>
Cc: David Rientjes <rientjes@google.com>,
"H. Peter Anvin" <hpa@zytor.com>, Ingo Molnar <mingo@elte.hu>,
Thomas Gleixner <tglx@linutronix.de>,
Andrew Morton <akpm@linux-foundation.org>,
Andi Kleen <andi@firstfloor.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/3] x86: fix node_possible_map logic -v2
Date: Tue, 12 May 2009 09:40:52 -0700 [thread overview]
Message-ID: <86802c440905120940r3d3261dap9d1843a9c832b582@mail.gmail.com> (raw)
In-Reply-To: <20090512161605.GB19747@sgi.com>
[-- Attachment #1: Type: text/plain, Size: 441 bytes --]
On Tue, May 12, 2009 at 9:16 AM, Jack Steiner <steiner@sgi.com> wrote:
> On Tue, May 12, 2009 at 08:10:18AM -0700, Yinghai Lu wrote:
>> jack,
>>
>> can you confirm:
>> 1. without this patch, your system still have problem?
>> 2. does current tip/master work for you?
>
> The current tip/master fails with or without the patch. AFAICT, the
> failure is identical in both cases.
ok, can you try attach patch to check cpu_to_node mapping?
YH
[-- Attachment #2: debug_extra_numa_init_node.patch --]
[-- Type: text/x-patch, Size: 836 bytes --]
Subject: [PATCH] x86: extra debug for cpu_to_node mapping
print more info about cpu node mapping finally ?
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
---
arch/x86/mm/numa_64.c | 11 +++++++++++
1 file changed, 11 insertions(+)
Index: linux-2.6/arch/x86/mm/numa_64.c
===================================================================
--- linux-2.6.orig/arch/x86/mm/numa_64.c
+++ linux-2.6/arch/x86/mm/numa_64.c
@@ -633,6 +633,17 @@ void __init init_cpu_to_node(void)
continue;
numa_set_node(cpu, node);
}
+ printk(KERN_INFO "init_cpu_to_node:\n");
+ for_each_possible_cpu(cpu) {
+ int node;
+ u16 apicid;
+ node = early_cpu_to_node(cpu);
+ if (node == NUMA_NO_NODE)
+ continue;
+ apicid = cpu_to_apicid[cpu];
+ printk(KERN_INFO "cpu %d -> apicid %#x -> node %d\n",
+ cpu, apicid, node);
+ }
}
#endif
next prev parent reply other threads:[~2009-05-12 16:41 UTC|newest]
Thread overview: 90+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-09 6:45 [PATCH 1/3] x86: remove MEMORY_HOTPLUG_RESERVE related code Yinghai Lu
2009-05-09 6:48 ` [PATCH 2/3] x86: add numa_move_cpus_to_node Yinghai Lu
2009-05-09 7:05 ` Justin P. Mattock
2009-05-12 1:27 ` Christoph Lameter
2009-05-11 21:53 ` Yinghai Lu
2009-05-12 20:59 ` Christoph Lameter
2009-05-12 17:16 ` Yinghai Lu
2009-05-12 21:21 ` Christoph Lameter
2009-05-13 5:39 ` Yinghai Lu
2009-05-14 19:34 ` Christoph Lameter
2009-05-14 20:58 ` Yinghai Lu
2009-05-09 6:50 ` [PATCH 3/3] x86: fix node_possible_map logic -v2 Yinghai Lu
2009-05-11 17:53 ` Jack Steiner
2009-05-11 19:15 ` Yinghai Lu
2009-05-11 19:36 ` Yinghai Lu
2009-05-11 19:27 ` David Rientjes
2009-05-11 21:12 ` H. Peter Anvin
2009-05-11 21:26 ` Alan Cox
2009-05-11 22:25 ` David Rientjes
2009-05-12 15:06 ` Jack Steiner
2009-05-12 15:10 ` Yinghai Lu
2009-05-12 16:16 ` Jack Steiner
2009-05-12 16:40 ` Yinghai Lu [this message]
2009-05-12 18:03 ` Jack Steiner
2009-05-12 21:31 ` Yinghai Lu
2009-05-12 21:58 ` Jack Steiner
2009-05-12 23:13 ` Yinghai Lu
2009-05-12 23:26 ` Yinghai Lu
2009-05-12 15:43 ` Andi Kleen
2009-05-13 1:34 ` [PATCH] x86: fix system without memory on node0 Yinghai Lu
2009-05-13 8:00 ` Andi Kleen
2009-05-13 15:58 ` Yinghai Lu
2009-05-13 13:35 ` Ingo Molnar
2009-05-13 16:52 ` Jack Steiner
2009-05-13 17:43 ` Yinghai Lu
2009-05-13 18:08 ` Yinghai Lu
2009-05-12 7:15 ` [PATCH 3/3] x86: fix node_possible_map logic -v2 Andi Kleen
2009-05-11 21:33 ` Jack Steiner
2009-05-11 22:56 ` David Rientjes
2009-05-11 23:00 ` Yinghai Lu
2009-05-12 7:09 ` Andi Kleen
2009-05-12 1:02 ` [PATCH 1/3] x86: remove MEMORY_HOTPLUG_RESERVE related code Christoph Lameter
2009-05-12 11:16 ` Mel Gorman
2009-05-13 5:29 ` Yinghai Lu
2009-05-13 9:55 ` Mel Gorman
2009-05-13 6:13 ` [PATCH] x86: remove MEMORY_HOTPLUG_RESERVE related code -v2 Yinghai Lu
2009-05-13 14:59 ` Mel Gorman
2009-05-14 16:38 ` [PATCH 1/5] " Yinghai Lu
2009-05-14 16:40 ` [PATCH 2/5] x86: add numa_move_cpus_to_node Yinghai Lu
2009-05-14 16:41 ` [PATCH 3/5] x86: fix node_possible_map logic -v2 Yinghai Lu
2009-05-18 7:40 ` [tip:x86/mm] x86, mm: Fix node_possible_map logic tip-bot for Yinghai Lu
2009-05-14 16:42 ` [PATCH 4/5] x86: fix system without memory on node0 -v2 Yinghai Lu
2009-05-18 7:40 ` [tip:x86/mm] x86: fix system without memory on node0 tip-bot for Yinghai Lu
2009-05-14 16:43 ` [PATCH 5/5] mm: clear N_HIGH_MEMORY map before se set it again -v2 Yinghai Lu
2009-05-14 16:54 ` Andrew Morton
2009-05-14 17:05 ` Yinghai Lu
2009-05-14 17:25 ` Andrew Morton
2009-05-14 17:34 ` Yinghai Lu
2009-05-14 19:44 ` Christoph Lameter
2009-06-04 5:16 ` [RESEND PATCH] " Yinghai Lu
2009-06-04 16:38 ` Christoph Lameter
2009-06-04 16:48 ` Yinghai Lu
2009-06-04 17:11 ` Christoph Lameter
2009-06-04 17:26 ` [PATCH] mm: clear N_HIGH_MEMORY map before se set it again -v4 Yinghai Lu
2009-06-19 6:42 ` Nathan Lynch
2009-06-19 8:18 ` Yinghai Lu
2009-06-19 8:43 ` Nathan Lynch
2009-06-19 16:16 ` Yinghai Lu
2009-06-20 23:43 ` Yinghai Lu
2009-06-22 4:39 ` Nathan Lynch
2009-06-22 15:38 ` [PATCH] x86: only clear node_states for 64bit Yinghai Lu
2009-06-26 20:54 ` Andrew Morton
2009-06-26 21:09 ` Yinghai Lu
2009-06-27 17:17 ` Ingo Molnar
2009-06-27 20:40 ` Yinghai Lu
2009-06-29 7:39 ` Yinghai Lu
2009-05-18 7:39 ` [tip:x86/mm] mm, x86: remove MEMORY_HOTPLUG_RESERVE related code tip-bot for Yinghai Lu
[not found] ` <20090511095022.GA23121@elte.hu>
[not found] ` <20090511163158.c4e4d334.akpm@linux-foundation.org>
[not found] ` <20090512090704.GC18004@elte.hu>
[not found] ` <4A0A6700.3070100@kernel.org>
[not found] ` <20090513133635.GB7384@elte.hu>
[not found] ` <4A0AFA6E.5050200@kernel.org>
[not found] ` <20090515173521.GA29647@elte.hu>
2009-05-15 21:38 ` tip: patches in git for irq and numa Yinghai Lu
2009-05-18 7:29 ` Ingo Molnar
2009-05-18 13:50 ` Peter Zijlstra
2009-05-18 13:56 ` Ingo Molnar
2009-05-18 15:03 ` Yinghai Lu
2009-05-18 15:09 ` Ingo Molnar
2009-05-18 15:11 ` Peter Zijlstra
2009-05-18 17:23 ` Yinghai Lu
2009-05-19 9:37 ` Ingo Molnar
2009-05-19 10:31 ` Peter Zijlstra
2009-05-19 12:26 ` Ingo Molnar
2009-05-19 9:39 ` [tip:irq/numa] x86, io-apic: Don't mark pin_programmed early tip-bot for Yinghai Lu
2009-05-19 12:30 ` tip-bot for Yinghai Lu
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=86802c440905120940r3d3261dap9d1843a9c832b582@mail.gmail.com \
--to=yhlu.kernel@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=andi@firstfloor.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rientjes@google.com \
--cc=steiner@sgi.com \
--cc=tglx@linutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®