[PATCH] x86_64: Basic reorder infrastructure
Arjan van de Ven authored
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 li...
4bdc3b7f
Name Last commit Last update
..
basic kbuild: consolidate command line escaping
genksyms Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild
kconfig kconfig: fix time ordering of writes to .kconfig.d and include/linux/autoconf.h
ksymoops Linux-2.6.12-rc2
mod Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild
package kbuild: replace PHONY with FORCE
.gitignore gitignore: ignore more generated files
Kbuild.include kbuild: change kbuild to not rely on incorrect GNU make behavior
Lindent [PATCH] Lindent: ignore .indent.pro
Makefile kconfig: move lxdialog to scripts/kconfig/lxdialog
Makefile.build kbuild: add -fverbose-asm to i386 Makefile
Makefile.clean kbuild: change kbuild to not rely on incorrect GNU make behavior
Makefile.host [PATCH] kbuild: obey HOSTLOADLIBES_programname for single-file compilation
Makefile.lib kbuild: set correct KBUILD_MODNAME when using well known kernel symbols as module names
Makefile.modinst kbuild: change kbuild to not rely on incorrect GNU make behavior
Makefile.modpost Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild
bin2c.c Linux-2.6.12-rc2
binoffset.c update the email address of Randy Dunlap
bloat-o-meter [PATCH] tiny: Add bloat-o-meter to scripts
checkincludes.pl Linux-2.6.12-rc2
checkstack.pl Linux-2.6.12-rc2
checkversion.pl update the email address of Randy Dunlap
conmakehash.c [PATCH] kbuild: signed char fixes for scripts
extract-ikconfig [PATCH] extract-ikconfig: don't use --long-options
gcc-version.sh Linux-2.6.12-rc2
gen_initramfs_list.sh
kallsyms.c
kernel-doc
makelst
mkcompile_h
mkmakefile
mksysmap
mkuboot.sh
mkversion
namespace.pl
patch-kernel
pnmtologo.c
profile2linkerlist.pl
setlocalversion
show_delta
ver_linux