kernel-ark/arch/x86_64/kernel
Arjan van de Ven 4bdc3b7f1b [PATCH] x86_64: Basic reorder infrastructure
This patch puts the infrastructure in place to allow for a reordering of
functions based inside the vmlinux. The general idea is that it is possible
to put all "common" functions into the first 2Mb of the code, so that they
are covered by one TLB entry. This as opposed to the current situation where
a typical vmlinux covers about 3.5Mb (on x86-64) and thus 2 TLB entries.

This is done by enabling the -ffunction-sections flag in gcc, which puts
each function in its own ELF section, so that the linker can then order them
in a way defined by the linker script.

As per previous discussions, Linus said he wanted a "static" list for this,
eg a list provided by the kernel tarbal, so that most people have the same
ordering at least. A script is provided to create this list based on
readprofile(1) output. The included list is provisional, and entirely biased
on my own testbox and me running a few kernel compiles and some other
things.

I think that to get to a better list we need to invite people to submit
their own profiles, and somehow add those all up and base the final list on
that. I'm willing to do that effort if this is ends up being the prefered
approach. Such an effort probably needs to be repeated like once a year or
so to adopt to the changing nature of the kernel.

Made it a CONFIG with default n because it increases link times
dramatically.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-25 09:10:56 -08:00
..
acpi
cpufreq
aperture.c [PATCH] x86_64: no_iommu removal in pci-gart.c 2006-02-26 09:53:29 -08:00
apic.c Revert "[PATCH] x86_64: Only do the clustered systems have unsynchronized TSC assumption on IBM systems" 2006-02-27 20:41:56 -08:00
asm-offsets.c
crash_dump.c
crash.c
e820.c
early_printk.c [PATCH] early_printk: cleanup trailiing whitespace 2006-03-24 07:33:25 -08:00
entry.S Revert "[PATCH] x86-64: Fix up handling of non canonical user RIPs" 2006-03-14 08:01:47 -08:00
functionlist [PATCH] x86_64: Basic reorder infrastructure 2006-03-25 09:10:56 -08:00
genapic_cluster.c
genapic_flat.c
genapic.c
head64.c
head.S [PATCH] x86_64: Patch to make the head.S-must-be-first-in-vmlinux order explicit 2006-03-25 09:10:55 -08:00
i387.c
i8259.c
init_task.c
io_apic.c [PATCH] x86_64: Always use IO-APIC routing for timer. 2006-03-25 09:10:55 -08:00
ioport.c
irq.c [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
kprobes.c [PATCH] sem2mutex: kprobes 2006-03-23 07:38:12 -08:00
ldt.c
machine_kexec.c [PATCH] fix kexec asm 2006-03-08 14:15:04 -08:00
Makefile [PATCH] x86-64: react to new topology.c location 2006-02-25 11:12:15 -08:00
mce_amd.c
mce_intel.c
mce.c [PATCH] x86_64: {set,clear,test}_bit() related cleanup and pci_mmcfg_init() fix 2006-03-24 07:33:15 -08:00
module.c
mpparse.c [PATCH] x86_64: cleanup allocating logical cpu numbers in x86_64 2006-03-25 09:10:53 -08:00
nmi.c [PATCH] x86_64: actively synchronize vmalloc area when registering certain callbacks 2006-03-25 09:10:53 -08:00
pci-dma.c [PATCH] x86_64: Don't invoke OOM killer during dma_alloc_coherent() 2006-03-25 09:10:55 -08:00
pci-gart.c [PATCH] x86_64: Use cpu_relax in poll loop in GART IOMMU 2006-03-25 09:10:53 -08:00
pci-nommu.c
pci-swiotlb.c
pmtimer.c
process.c [PATCH] x86_64: save FPU context slightly later 2006-03-25 09:10:52 -08:00
ptrace.c [PATCH] x86_64: disallow multi-byte hardware execution breakpoints 2006-03-25 09:10:52 -08:00
reboot.c
relocate_kernel.S
setup64.c [PATCH] x86_64: miscellaneous cleanup 2006-03-25 09:10:54 -08:00
setup.c [PATCH] x86_64: Implement early DMI scanning 2006-03-25 09:10:55 -08:00
signal.c [PATCH] swsusp: finally solve mysqld problem 2006-03-23 07:38:08 -08:00
smp.c
smpboot.c [PATCH] x86_64: Move the SMP time selection earlier 2006-02-26 09:53:31 -08:00
suspend_asm.S
suspend.c
sys_x86_64.c
syscall.c
time.c [PATCH] x86_64: Reename CMOS update warning 2006-03-25 09:10:55 -08:00
trampoline.S
traps.c [PATCH] x86_64: miscellaneous cleanup 2006-03-25 09:10:54 -08:00
vmlinux.lds.S [PATCH] x86_64: Basic reorder infrastructure 2006-03-25 09:10:56 -08:00
vsmp.c
vsyscall.c
x8664_ksyms.c [PATCH] x86_64: remove dead do_softirq_thunk 2006-03-25 09:10:53 -08:00