[PATCH] disable addres space randomization default on transmeta CPUs

We know that the randomisation slows down some workloads on Transmeta CPUs
by quite large amounts. We think it's because the CPU needs to recode the
same x86 instructions when they pop up at a different virtual address after
a fork+exec.

So disable randomization by default on those CPUs.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Eric Lammerts and committed by Linus Torvalds cdf32eaa 3fef3fa2

+4
+4
arch/i386/kernel/cpu/transmeta.c
··· 76 #define USER686 (X86_FEATURE_TSC|X86_FEATURE_CX8|X86_FEATURE_CMOV) 77 if ( c->x86 == 5 && (c->x86_capability[0] & USER686) == USER686 ) 78 c->x86 = 6; 79 } 80 81 static void transmeta_identify(struct cpuinfo_x86 * c)
··· 76 #define USER686 (X86_FEATURE_TSC|X86_FEATURE_CX8|X86_FEATURE_CMOV) 77 if ( c->x86 == 5 && (c->x86_capability[0] & USER686) == USER686 ) 78 c->x86 = 6; 79 + 80 + /* randomize_va_space slows us down enormously; 81 + it probably triggers retranslation of x86->native bytecode */ 82 + randomize_va_space = 0; 83 } 84 85 static void transmeta_identify(struct cpuinfo_x86 * c)