]> err.no Git - linux-2.6/commit
[PATCH] x86_64: Undo the earlier changes to remove unrolled copy/memset functions
authorAndi Kleen <ak@suse.de>
Fri, 3 Feb 2006 20:51:02 +0000 (21:51 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 5 Feb 2006 00:43:13 +0000 (16:43 -0800)
commit7bcd3f34e262bbebffa954d80eab3a84f053da31
treef0765da9eaa8024a2b1d67d3e43730cb32f99fa7
parent6bca52b544489b626c7d0db801df6b4aa3d5adb5
[PATCH] x86_64: Undo the earlier changes to remove unrolled copy/memset functions

They cause quite bad performance regressions on Netburst
This is temporary until we can get new optimized functions
for these CPUs.

This undoes changes that were done in 2.6.15 and in 2.6.16-rc1,
essentially bringing the code back to 2.6.14 level. Only change
is I renamed the X86_FEATURE_K8_C flag to X86_FEATURE_REP_GOOD
and fixed the check for the flag and also fixed some comments.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/setup.c
arch/x86_64/lib/clear_page.S
arch/x86_64/lib/copy_page.S
arch/x86_64/lib/copy_user.S
arch/x86_64/lib/memcpy.S
arch/x86_64/lib/memset.S
include/asm-x86_64/cpufeature.h