kernel_optimize_test/arch
Tejun Heo 4518e6a0c0 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>
2009-08-14 15:00:52 +09:00
..
alpha Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
arm Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
avr32 Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
blackfin Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
cris Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
frv Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
h8300 Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
ia64 Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
m32r Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
m68k Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
m68knommu Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
microblaze Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
mips Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
mn10300 Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
parisc Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
powerpc Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
s390 Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
sh Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
sparc percpu: add pcpu_unit_offsets[] 2009-08-14 15:00:51 +09:00
um Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
x86 x86,percpu: use embedding for 64bit NUMA and page for 32bit NUMA 2009-08-14 15:00:52 +09:00
xtensa Merge branch 'percpu-for-linus' into percpu-for-next 2009-08-14 14:45:31 +09:00
.gitignore
Kconfig gcov: add gcov profiling infrastructure 2009-06-18 13:03:57 -07:00