android_kernel_xiaomi_sm8350/arch/x86_64/boot
Zachary Amsden 08da5a2ca4 x86_64: Early segment setup for VT
VT is very picky about when it can enter execution.
Get all segments setup and get LDT and TR into valid state to allow
VT execution under VMware and KVM (untested).

This makes the boot decompression run under VT, which makes it several
orders of magnitude faster on 64-bit Intel hardware.

Before, I was seeing times up to a minute or more to decompress a 1.3MB kernel
on a very fast box.

Signed-off-by: Zachary Amsden <zach@vmware.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-08-11 15:58:13 -07:00
..
compressed x86_64: Early segment setup for VT 2007-08-11 15:58:13 -07:00
tools Use the new x86 setup code for x86-64; unify with i386 2007-07-12 10:55:55 -07:00
.gitignore Update .gitignore for arch/i386/boot 2007-07-19 14:32:38 -07:00
Makefile Use the new x86 setup code for x86-64; unify with i386 2007-07-12 10:55:55 -07:00