diff options
author | Tejun Heo <tj@kernel.org> | 2009-08-14 02:00:52 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-08-14 02:00:52 -0400 |
commit | 4518e6a0c038b98be4c480e6f4481e8676bd15dd (patch) | |
tree | 81b222a74951186aa85b5dfddae1fcae3b7e8ea9 /arch/x86/Kconfig | |
parent | c8826dd538602d730ed2c18c6753f1bbfa6c4933 (diff) |
x86,percpu: use embedding for 64bit NUMA and page for 32bit NUMA
Embedding percpu first chunk allocator can now handle very sparse unit
mapping. Use embedding allocator instead of lpage for 64bit NUMA.
This removes extra TLB pressure and the need to do complex and fragile
dancing when changing page attributes.
For 32bit, using very sparse unit mapping isn't a good idea because
the vmalloc space is very constrained. 32bit NUMA machines aren't
exactly the focus of optimization and it isn't very clear whether
lpage performs better than page. Use page first chunk allocator for
32bit NUMAs.
As this leaves setup_pcpu_*() functions pretty much empty, fold them
into setup_per_cpu_areas().
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Andi Kleen <andi@firstfloor.org>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index f7ac27215512..869d7d301448 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -156,10 +156,6 @@ config NEED_PER_CPU_EMBED_FIRST_CHUNK | |||
156 | config NEED_PER_CPU_PAGE_FIRST_CHUNK | 156 | config NEED_PER_CPU_PAGE_FIRST_CHUNK |
157 | def_bool y | 157 | def_bool y |
158 | 158 | ||
159 | config NEED_PER_CPU_LPAGE_FIRST_CHUNK | ||
160 | def_bool y | ||
161 | depends on NEED_MULTIPLE_NODES | ||
162 | |||
163 | config HAVE_CPUMASK_OF_CPU_MAP | 159 | config HAVE_CPUMASK_OF_CPU_MAP |
164 | def_bool X86_64_SMP | 160 | def_bool X86_64_SMP |
165 | 161 | ||