]> git.baikalelectronics.ru Git - kernel.git/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)
commitffd5cb9db8f7544734b1394c6068a574357dbfa4
treef0765da9eaa8024a2b1d67d3e43730cb32f99fa7
parent1b8c9c8bd556e570e0fb18ac5951ba42758df2bb
[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