From: Dave Hansen <dave@linux.vnet.ibm.com>
To: Tejun Heo <tj@kernel.org>, LKML <linux-kernel@vger.kernel.org>,
linux-mm@kvack.org, Cody P Schafer <cody@linux.vnet.ibm.com>
Subject: 32/64-bit NUMA consolidation behavior regresion
Date: Wed, 28 Nov 2012 16:03:58 -0800 [thread overview]
Message-ID: <50B6A66E.8030406@linux.vnet.ibm.com> (raw)
Hi Tejun,
I was bisecting a boot problem on a 32-bit NUMA kernel and it bisected
down to commit 8db78cc4. It turns out that, with this patch,
pcpu_need_numa() changed its return value on my system from 1 to 0.
What that basically meant was that we stopped using the remapped lowmem
areas for percpu data.
My system is just qemu booted with:
-smp 8 -m 8192 -numa node,nodeid=0,cpus=0-3 -numa node,nodeid=1,cpus=4-7
Watch the "PERCPU:" line early in boot, and you can see the "Embedded"
come and go with or without your patch:
[ 0.000000] PERCPU: Embedded 11 pages/cpu @f3000000 s30592 r0 d14464
vs
[ 0.000000] PERCPU: 11 4K pages/cpu @f83fe000 s30592 r0 d14464
I believe this has to do with the hunks in your patch that do:
-#ifdef CONFIG_X86_64
init_cpu_to_node();
-#endif
...
-#ifdef CONFIG_X86_32
-DEFINE_EARLY_PER_CPU(int, x86_cpu_to_node_map, 0);
-#else
DEFINE_EARLY_PER_CPU(int, x86_cpu_to_node_map, NUMA_NO_NODE);
-#endif
EXPORT_EARLY_PER_CPU_SYMBOL(x86_cpu_to_node_map);
I don't have a fix handy because I'm working on the original problem,
but I just happened to run across this during a bisect.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
WARNING: multiple messages have this Message-ID (diff)
From: Dave Hansen <dave@linux.vnet.ibm.com>
To: Tejun Heo <tj@kernel.org>, LKML <linux-kernel@vger.kernel.org>,
linux-mm@kvack.org, Cody P Schafer <cody@linux.vnet.ibm.com>
Subject: 32/64-bit NUMA consolidation behavior regresion
Date: Wed, 28 Nov 2012 16:03:58 -0800 [thread overview]
Message-ID: <50B6A66E.8030406@linux.vnet.ibm.com> (raw)
Hi Tejun,
I was bisecting a boot problem on a 32-bit NUMA kernel and it bisected
down to commit 8db78cc4. It turns out that, with this patch,
pcpu_need_numa() changed its return value on my system from 1 to 0.
What that basically meant was that we stopped using the remapped lowmem
areas for percpu data.
My system is just qemu booted with:
-smp 8 -m 8192 -numa node,nodeid=0,cpus=0-3 -numa node,nodeid=1,cpus=4-7
Watch the "PERCPU:" line early in boot, and you can see the "Embedded"
come and go with or without your patch:
[ 0.000000] PERCPU: Embedded 11 pages/cpu @f3000000 s30592 r0 d14464
vs
[ 0.000000] PERCPU: 11 4K pages/cpu @f83fe000 s30592 r0 d14464
I believe this has to do with the hunks in your patch that do:
-#ifdef CONFIG_X86_64
init_cpu_to_node();
-#endif
...
-#ifdef CONFIG_X86_32
-DEFINE_EARLY_PER_CPU(int, x86_cpu_to_node_map, 0);
-#else
DEFINE_EARLY_PER_CPU(int, x86_cpu_to_node_map, NUMA_NO_NODE);
-#endif
EXPORT_EARLY_PER_CPU_SYMBOL(x86_cpu_to_node_map);
I don't have a fix handy because I'm working on the original problem,
but I just happened to run across this during a bisect.
next reply other threads:[~2012-11-29 0:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-29 0:03 Dave Hansen [this message]
2012-11-29 0:03 ` 32/64-bit NUMA consolidation behavior regresion Dave Hansen
2012-11-30 20:42 ` Tejun Heo
2012-11-30 20:42 ` Tejun Heo
2012-11-30 20:55 ` Dave Hansen
2012-11-30 20:55 ` Dave Hansen
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=50B6A66E.8030406@linux.vnet.ibm.com \
--to=dave@linux.vnet.ibm.com \
--cc=cody@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=tj@kernel.org \
/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.