x86: move various CPU initialization objects into .cpuinit.rodata
authorJan Beulich <jbeulich@novell.com>
Thu, 12 Mar 2009 12:08:49 +0000 (12:08 +0000)
committerIngo Molnar <mingo@elte.hu>
Thu, 12 Mar 2009 12:13:07 +0000 (13:13 +0100)
commit02dde8b45c5460794b9052d7c12939fe3eb63c2c
tree5c24bd6411e3fb704c81694f8f63e8bd963848ad
parent821508d4ef7920283b960057903505fed609fd16
x86: move various CPU initialization objects into .cpuinit.rodata

Impact: debuggability and micro-optimization

Putting whatever is possible into the (final) .rodata section increases
the likelihood of catching memory corruption bugs early, and reduces
false cache line sharing.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
LKML-Reference: <49B90961.76E4.0078.0@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
12 files changed:
arch/x86/kernel/cpu/addon_cpuid_features.c
arch/x86/kernel/cpu/amd.c
arch/x86/kernel/cpu/centaur.c
arch/x86/kernel/cpu/centaur_64.c
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/cpu.h
arch/x86/kernel/cpu/cyrix.c
arch/x86/kernel/cpu/intel.c
arch/x86/kernel/cpu/intel_cacheinfo.c
arch/x86/kernel/cpu/transmeta.c
arch/x86/kernel/cpu/umc.c
arch/x86/kernel/mmconf-fam10h_64.c