1
linux/arch/x86/boot
Zhao Yakui 68f4d5a00a x86, setup: Use string copy operation to optimze copy in kernel compression
The kernel decompression code parses the ELF header and then copies
the segment to the corresponding destination.  Currently it uses slow
byte-copy code.  This patch makes it use the string copy operations
instead.

In the test the copy performance can be improved very significantly after using
the string copy operation mechanism.
        1. The copy time can be reduced from 150ms to 20ms on one Atom machine
	2. The copy time can be reduced about 80% on another machine
		The time is reduced from 7ms to 1.5ms when using 32-bit kernel.
		The time is reduced from 10ms to 2ms when using 64-bit kernel.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
LKML-Reference: <1286502453-7043-1-git-send-email-yakui.zhao@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2010-10-07 21:23:09 -07:00
..
compressed x86, setup: Use string copy operation to optimze copy in kernel compression 2010-10-07 21:23:09 -07:00
tools
.gitignore
a20.c
apm.c
bioscall.S
bitops.h
boot.h x86, setup: move isdigit.h to ctype.h, header files on top. 2010-08-02 21:07:20 -07:00
cmdline.c x86, setup: reorganize the early console setup 2010-08-02 15:51:56 -07:00
code16gcc.h
copy.S
cpu.c
cpucheck.c
ctype.h x86, setup: move isdigit.h to ctype.h, header files on top. 2010-08-02 21:07:20 -07:00
early_serial_console.c x86, setup: Fix earlyprintk=serial,0x3f8,115200 2010-09-21 10:18:33 -07:00
edd.c
header.S
install.sh
main.c x86, setup: enable early console output from the decompressor 2010-08-02 20:32:20 -07:00
Makefile x86, setup: reorganize the early console setup 2010-08-02 15:51:56 -07:00
mca.c
memory.c
mkcpustr.c
mtools.conf.in
pm.c
pmjump.S
printf.c x86, setup: reorganize the early console setup 2010-08-02 15:51:56 -07:00
regs.c
setup.ld
string.c x86, setup: Make the setup code also accept console=uart8250 2010-07-13 14:08:12 -07:00
tty.c x86, setup: reorganize the early console setup 2010-08-02 15:51:56 -07:00
version.c
vesa.h
video-bios.c
video-mode.c
video-vesa.c
video-vga.c x86, setup: Set ax register in boot vga query 2010-06-10 15:24:29 -07:00
video.c
video.h